Exception: XeroGateway::UnparseableResponse
- Inherits:
-
StandardError
- Object
- StandardError
- XeroGateway::UnparseableResponse
- Defined in:
- lib/xero_gateway/exceptions.rb
Instance Method Summary collapse
-
#initialize(root_element_name) ⇒ UnparseableResponse
constructor
A new instance of UnparseableResponse.
- #message ⇒ Object
Constructor Details
#initialize(root_element_name) ⇒ UnparseableResponse
Returns a new instance of UnparseableResponse.
25 26 27 |
# File 'lib/xero_gateway/exceptions.rb', line 25 def initialize(root_element_name) @root_element_name = root_element_name end |
Instance Method Details
#message ⇒ Object
29 30 31 |
# File 'lib/xero_gateway/exceptions.rb', line 29 def "A root element of #{@root_element_name} was returned, and we don't understand that!" end |