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 = {}) {|connection| ... } ⇒ Object

Yields:

  • (connection)


114
115
116
117
118
119
120
121
122
123
124
125
126
# File 'lib/savon/request.rb', line 114

def build(options = {})
  configure_proxy
  configure_timeouts
  configure_ssl
  configure_auth
  configure_headers(options[:soap_action], options[:headers])
  configure_cookies(options[:cookies])
  configure_adapter
  configure_logging
  configure_redirect_handling
  yield(connection) if block_given?
  connection
end