Class: Savon::HTTPRequest

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

Direct Known Subclasses

SOAPRequest, WSDLRequest

Instance Method Summary collapse

Constructor Details

#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

Instance Method Details

#buildObject



12
13
14
# File 'lib/savon/request.rb', line 12

def build
  @http_request
end