Class: SOAP::RPC::Driver

Inherits:
Object
  • Object
show all
Defined in:
lib/soapex/driver.rb

Instance Method Summary collapse

Instance Method Details

#prepare(headers, endpoint = nil) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/soapex/driver.rb', line 5

def prepare(headers, endpoint=nil)
  self.proxy.endpoint_url = endpoint if endpoint
  headers.each {|h| self.headerhandler << h}
  (self.wiredump_dev = STDOUT) if $DEBUG
  self.options['protocol.http.ssl_config.verify_mode'] = nil
  (self.wiredump_file_base = "debug") if $DEBUG
end