Class: Savon::SOAP::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/config/savon_config.rb

Instance Method Summary collapse

Instance Method Details

#decode_soap_response(path = []) ⇒ Object



17
18
19
20
21
# File 'lib/config/savon_config.rb', line 17

def decode_soap_response( path = [] )
  hash = SoapResponseDecoder.decode( self.to_xml )
  path.each { |p| hash = hash[p] }
  hash
end