Class: SynergyWholesale::ResponseGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/synergy_wholesale/response_generator.rb

Instance Method Summary collapse

Instance Method Details

#build_response(command_name, response, soap_command) ⇒ Object



6
7
8
# File 'lib/synergy_wholesale/response_generator.rb', line 6

def build_response(command_name, response, soap_command)
  get_response_class(command_name).new(response, soap_command)
end