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.
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
#build ⇒ Object
11 12 13 |
# File 'lib/savon/request.rb', line 11 def build @http_request end |