class Soaspec::SoapRequest
Models a request made to a SOAP API
Attributes
body[RW]
operation[RW]
@example SOAP operation
:login
@return [Symbol] SOAP operation used
request_option[RW]
@return [Symbol] Method of building the request (:hash, :template)
test_name[RW]
@return [String] Name given to test to describe it
Public Class Methods
new(operation, body, request_option)
click to toggle source
@param [Symbol] operation Soap operation used @param [Hash] body Hash
with method of SOAP generated contained @param [Symbol] request_option
Method of building the request (:hash, :template)
# File lib/soaspec/exchange_handlers/request/soap_request.rb, line 24 def initialize(operation, body, request_option) self.body = body self.operation = operation self.request_option = request_option end
Public Instance Methods
[](value)
click to toggle source
@param [String, Symbol] value Message to send to object retrieving a value @return [Object] Result of retrieving value
# File lib/soaspec/exchange_handlers/request/soap_request.rb, line 32 def [](value) send(value) end
to_s()
click to toggle source
@return [String] Show inspection of all parameters
# File lib/soaspec/exchange_handlers/request/soap_request.rb, line 37 def to_s inspect end