Exception: Temando::Api::Exceptions::SoapError
- Inherits:
-
StandardError
- Object
- StandardError
- Temando::Api::Exceptions::SoapError
- Defined in:
- lib/temando/api/exceptions/soap_error.rb
Overview
Raised when the ASI returns a SOAP Fault object.
Instance Attribute Summary collapse
-
#last_request ⇒ Object
readonly
Returns the value of attribute last_request.
-
#last_response ⇒ Object
readonly
Returns the value of attribute last_response.
Instance Method Summary collapse
-
#initialize(message, last_request, last_response) ⇒ SoapError
constructor
A new instance of SoapError.
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(, last_request, last_response) @last_request = last_request @last_response = last_response super() end |
Instance Attribute Details
#last_request ⇒ Object (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_response ⇒ Object (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 |