Class: Exchanger::GetUserConfiguration::Response

Inherits:
Operation::Response show all
Defined in:
lib/exchanger/operations/get_user_configuration.rb

Instance Attribute Summary

Attributes inherited from Operation::Response

#body, #status

Instance Method Summary collapse

Methods inherited from Operation::Response

#code, #initialize, #parse_response_message, #parse_soap_errors, #to_xml

Constructor Details

This class inherits a constructor from Exchanger::Operation::Response

Instance Method Details

#configurationObject


26
27
28
29
30
# File 'lib/exchanger/operations/get_user_configuration.rb', line 26

def configuration
  node = to_xml.at_xpath(".//m:UserConfiguration", NS)
  item_klass = Exchanger.const_get(node.name)
  item_klass.new_from_xml(node)
end