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.



6
7
8
9
# File 'lib/savon/request.rb', line 6

def initialize(globals, http_request = nil)
  @globals = globals
  @http_request = http_request || HTTPI::Request.new
end

Instance Method Details

#buildObject



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

def build
  @http_request
end