Class: Savon::SOAPRequest

Inherits:
HTTPRequest show all
Defined in:
lib/savon/request.rb

Constant Summary collapse

CONTENT_TYPE =
{
  1 => "text/xml;charset=%s",
  2 => "application/soap+xml;charset=%s"
}

Instance Method Summary collapse

Methods inherited from HTTPRequest

#initialize

Constructor Details

This class inherits a constructor from Savon::HTTPRequest

Instance Method Details

#build(options = {}) ⇒ Object



88
89
90
91
92
93
94
95
96
97
98
# File 'lib/savon/request.rb', line 88

def build(options = {})
  configure_proxy
  configure_timeouts
  configure_headers options[:soap_action], options[:headers]
  configure_cookies options[:cookies]
  configure_ssl
  configure_auth
  configure_redirect_handling

  @http_request
end