Exception: XeroGateway::ObjectNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/xero_gateway/exceptions.rb

Instance Method Summary collapse

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

#messageObject



41
42
43
# File 'lib/xero_gateway/exceptions.rb', line 41

def message
  "Couldn't find object for API Endpoint #{@api_endpoint}"
end