Exception: Xeroizer::ObjectNotFound

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

Instance Method Summary collapse

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

#messageObject



52
53
54
# File 'lib/xeroizer/exceptions.rb', line 52

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