Method: Savon::HTTPRequest#initialize
- Defined in:
- lib/savon/request.rb
#initialize(globals, http_request = nil) ⇒ HTTPRequest
Returns a new instance of HTTPRequest.
7 8 9 10 |
# File 'lib/savon/request.rb', line 7 def initialize(globals, http_request = nil) @globals = globals @http_request = http_request || HTTPI::Request.new end |