Exception: Xeroizer::ObjectNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Xeroizer::ObjectNotFound
- Defined in:
- lib/xeroizer/exceptions.rb
Instance Method Summary collapse
-
#initialize(api_endpoint) ⇒ ObjectNotFound
constructor
A new instance of ObjectNotFound.
- #message ⇒ Object
Constructor Details
#initialize(api_endpoint) ⇒ ObjectNotFound
Returns a new instance of ObjectNotFound.
48 49 50 |
# File 'lib/xeroizer/exceptions.rb', line 48 def initialize(api_endpoint) @api_endpoint = api_endpoint end |
Instance Method Details
#message ⇒ Object
52 53 54 |
# File 'lib/xeroizer/exceptions.rb', line 52 def "Couldn't find object for API Endpoint #{@api_endpoint}" end |