Exception: Temando::Api::Exceptions::SoapError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/temando/api/exceptions/soap_error.rb

Overview

Raised when the ASI returns a SOAP Fault object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, last_request, last_response) ⇒ SoapError

Returns a new instance of SoapError.



7
8
9
10
11
# File 'lib/temando/api/exceptions/soap_error.rb', line 7

def initialize(message, last_request, last_response)
  @last_request  = last_request
  @last_response = last_response
  super(message)
end

Instance Attribute Details

#last_requestObject (readonly)

Returns the value of attribute last_request.



5
6
7
# File 'lib/temando/api/exceptions/soap_error.rb', line 5

def last_request
  @last_request
end

#last_responseObject (readonly)

Returns the value of attribute last_response.



5
6
7
# File 'lib/temando/api/exceptions/soap_error.rb', line 5

def last_response
  @last_response
end