Exception: XeroGateway::ObjectNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- XeroGateway::ObjectNotFound
- Defined in:
- lib/xero_gateway/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.
37 38 39 |
# File 'lib/xero_gateway/exceptions.rb', line 37 def initialize(api_endpoint) @api_endpoint = api_endpoint end |
Instance Method Details
#message ⇒ Object
41 42 43 |
# File 'lib/xero_gateway/exceptions.rb', line 41 def "Couldn't find object for API Endpoint #{@api_endpoint}" end |