Exception: Ingenico::Direct::SDK::AuthorizationException
- Inherits:
-
ApiException
- Object
- RuntimeError
- ApiException
- Ingenico::Direct::SDK::AuthorizationException
- Defined in:
- lib/ingenico/direct/sdk/authorization_exception.rb
Overview
This exception is thrown when a request sent to the Ingenico ePayments platform is not correctly authenticated. Corresponds to a HTTP status code of 403.
Instance Attribute Summary
Attributes inherited from ApiException
#error_id, #errors, #response_body, #status_code
Instance Method Summary collapse
-
#initialize(status_code, response_body, error_id, errors, message = 'the Ingenico ePayments platform returned an authorization error response') ⇒ AuthorizationException
constructor
A new instance of AuthorizationException.
Methods inherited from ApiException
Constructor Details
#initialize(status_code, response_body, error_id, errors, message = 'the Ingenico ePayments platform returned an authorization error response') ⇒ AuthorizationException
Returns a new instance of AuthorizationException.
8 9 10 11 |
# File 'lib/ingenico/direct/sdk/authorization_exception.rb', line 8 def initialize(status_code, response_body, error_id, errors, = 'the Ingenico ePayments platform returned an authorization error response') super(status_code, response_body, error_id, errors, ) end |