Exception: Ingenico::Connect::SDK::Webhooks::SecretKeyNotAvailableException
- Inherits:
-
SignatureValidationException
- Object
- RuntimeError
- SignatureValidationException
- Ingenico::Connect::SDK::Webhooks::SecretKeyNotAvailableException
- Defined in:
- lib/ingenico/connect/sdk/webhooks/secret_key_not_available_exception.rb
Overview
Raised when an error caused a secret to become not available.
Instance Attribute Summary collapse
-
#key_id ⇒ Object
readonly
Returns the value of attribute key_id.
Instance Method Summary collapse
-
#initialize(args) ⇒ SecretKeyNotAvailableException
constructor
A new instance of SecretKeyNotAvailableException.
Constructor Details
#initialize(args) ⇒ SecretKeyNotAvailableException
Returns a new instance of SecretKeyNotAvailableException.
6 7 8 9 10 |
# File 'lib/ingenico/connect/sdk/webhooks/secret_key_not_available_exception.rb', line 6 def initialize(args) raise ArgumentError if (key_id = args.delete(:key_id)).nil? # key_id is mandatory super(args) @key_id = key_id end |
Instance Attribute Details
#key_id ⇒ Object (readonly)
Returns the value of attribute key_id.
12 13 14 |
# File 'lib/ingenico/connect/sdk/webhooks/secret_key_not_available_exception.rb', line 12 def key_id @key_id end |