Exception: Xeroizer::UnparseableResponse
- Inherits:
-
StandardError
- Object
- StandardError
- Xeroizer::UnparseableResponse
- Defined in:
- lib/xeroizer/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.
36 37 38 |
# File 'lib/xeroizer/exceptions.rb', line 36 def initialize(root_element_name) @root_element_name = root_element_name end |
Instance Method Details
#message ⇒ Object
40 41 42 |
# File 'lib/xeroizer/exceptions.rb', line 40 def "A root element of #{@root_element_name} was returned, and we don't understand that!" end |