Class: Savon::WSDL::Request

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

Overview

Savon::WSDL::Request

Executes WSDL requests.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#requestObject

Accessor for the HTTPI::Request.



17
18
19
# File 'lib/savon/wsdl/request.rb', line 17

def request
  @request
end

Instance Method Details

#responseObject

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