Class: CGIParty::Request
- Inherits:
-
Object
- Object
- CGIParty::Request
- Defined in:
- lib/cgi_party/request.rb
Direct Known Subclasses
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(savon_client, ip_address = nil, options) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(savon_client, ip_address = nil, options) ⇒ Request
Returns a new instance of Request.
3 4 5 6 7 |
# File 'lib/cgi_party/request.rb', line 3 def initialize(savon_client, ip_address = nil, ) @options = (, ) @savon_client = savon_client @ip_address = ip_address end |
Instance Method Details
#execute ⇒ Object
9 10 11 12 |
# File 'lib/cgi_party/request.rb', line 9 def execute response = @savon_client.call(action_name, message: , message_tag: , soap_action: false) serialize_data(response.body) end |