Class: Savon::WSDL::Request
- Inherits:
-
Object
- Object
- Savon::WSDL::Request
- Defined in:
- lib/savon/wsdl/request.rb
Overview
Savon::WSDL::Request
Executes WSDL requests.
Instance Attribute Summary collapse
-
#request ⇒ Object
Accessor for the
HTTPI::Request
.
Instance Method Summary collapse
-
#initialize(request) ⇒ Request
constructor
Expects an
HTTPI::Request
. -
#response ⇒ Object
Executes the request and returns the response.
Constructor Details
#initialize(request) ⇒ Request
Expects an HTTPI::Request
.
12 13 14 |
# File 'lib/savon/wsdl/request.rb', line 12 def initialize(request) self.request = request end |
Instance Attribute Details
#request ⇒ Object
Accessor for the HTTPI::Request
.
17 18 19 |
# File 'lib/savon/wsdl/request.rb', line 17 def request @request end |
Instance Method Details
#response ⇒ Object
Executes the request and returns the response.
20 21 22 |
# File 'lib/savon/wsdl/request.rb', line 20 def response @response ||= with_logging { HTTPI.get request } end |