Class: Savon::HTTPRequest
- Inherits:
-
Object
- Object
- Savon::HTTPRequest
- Defined in:
- lib/savon/request.rb
Direct Known Subclasses
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(globals, http_request = nil) ⇒ HTTPRequest
constructor
A new instance of HTTPRequest.
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
#build ⇒ Object
12 13 14 |
# File 'lib/savon/request.rb', line 12 def build @http_request end |