public Method

Definitions.collect_faulttypes

There's no documentation for this item.

Source Code

# File 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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.