Flowdock
method

collect_faulttypes

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: WSDL::Definitions
collect_faulttypes() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/wsdl/soap/definitions.rb, line 78
  def collect_faulttypes
    result = []
    collect_fault_messages.each do |name|
      faultparts = message(name).parts
      if faultparts.size != 1
        raise RuntimeError.new("expecting fault message to have only 1 part")
      end
      if result.index(faultparts[0].type).nil?
        result << faultparts[0].type
      end
    end
    result
  end
Register or log in to add new notes.