Class: Temando::Api::SoapClient

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable
Defined in:
lib/temando/api/soap_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#last_requestObject (readonly)

Returns the value of attribute last_request.



8
9
10
# File 'lib/temando/api/soap_client.rb', line 8

def last_request
  @last_request
end

#last_responseObject (readonly)

Returns the value of attribute last_response.



8
9
10
# File 'lib/temando/api/soap_client.rb', line 8

def last_response
  @last_response
end

Instance Method Details

#dispatch(request_xml) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/temando/api/soap_client.rb', line 13

def dispatch(request_xml)
  response = ''

  @last_request = request_xml

  process_response(perform_request(request_xml))
end