lib/savon_helper/soap_interface.rb
# Helper Method deserializing the SOAP response into an object
# @param method_name [Symbol] The SOAP method to call.
# @param object_class [MappingObject] The class to typecast the result to.
# @param arguments [Hash] The method arguments
# @return [object_class] The object filled from the response.
Helper Method deserializing the SOAP response into an object
Helper Method deserializing the SOAP response into an object
def request_object(method_name, object_class, arguments={})
      data = send_soap(method_name, arguments)
      object_class.from_savon(data, self)
    end
def request_object ( method_name , object_class , arguments = { } ) data = send_soap ( method_name , arguments ) object_class . from_savon ( data , self ) end
Helper Method deserializing the SOAP response into an object
Helper Method deserializing the SOAP response into an object
# ObjectMapping.to_native(object_class, data, self) # raise "Halt"
The object filled from the response.
The object filled from the response .
object_class
method_name
The SOAP method to call.
The SOAP method to call .
object_class
The class to typecast the result to.
The class to typecast the result to .
arguments
The method arguments
The method arguments