Exception: AntigateApi::Errors::AccessDenied

Inherits:
Error
  • Object
show all
Defined in:
lib/antigate_api/errors.rb

Overview

Raised when the user is not allowed to access the API.

Instance Method Summary collapse

Constructor Details

#initializeAccessDenied

Returns a new instance of AccessDenied.



43
44
45
# File 'lib/antigate_api/errors.rb', line 43

def initialize
  super('Access denied, please check your credentials and/or balance')
end