Method: Soaspec::SoapHandler#initialize
- Defined in:
- lib/soaspec/exchange_handlers/soap_handler.rb
#initialize(name = self.class.to_s, options = {}) ⇒ SoapHandler
Setup object to handle communicating with a particular SOAP WSDL
73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/soaspec/exchange_handlers/soap_handler.rb', line 73 def initialize(name = self.class.to_s, = {}) if name.is_a?(Hash) && == {} # If name is not set = name name = self.class.to_s end super set_remove_keys(, i[operation default_hash template_name]) = Soaspec::SpecLogger.log_api_traffic? ? .merge() : .merge! .merge!() self.client = Savon.client() end |