lib/soaspec/exchange_handlers/soap_handler.rb in soaspec-0.0.43 vs lib/soaspec/exchange_handlers/soap_handler.rb in soaspec-0.0.44

- old
+ new

@@ -69,15 +69,18 @@ end # Setup object to handle communicating with a particular SOAP WSDL # @param [Hash] specific_options Options defining SOAP request. WSDL, authentication, see http://savonrb.com/version2/globals.html for list of options def initialize(name, specific_options = {}) + @default_hash = {} + @request_option = :hash + set_remove_key(specific_options, :operation) + set_remove_key(specific_options, :default_hash) + set_remove_key(specific_options, :template_name) options = default_options.merge logging_options options.merge! savon_options options.merge!(specific_options) @client = Savon.client(options) - @default_hash = {} - @request_option = :hash super end # Used in together with Exchange request that passes such override parameters def make_request(override_parameters) \ No newline at end of file