Exception: Worldline::Connect::SDK::Webhooks::SecretKeyNotAvailableException
- Inherits:
-
SignatureValidationException
- Object
- RuntimeError
- SignatureValidationException
- Worldline::Connect::SDK::Webhooks::SecretKeyNotAvailableException
- Defined in:
- lib/worldline/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 ⇒ String
readonly
The current value of 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.
12 13 14 15 16 |
# File 'lib/worldline/connect/sdk/webhooks/secret_key_not_available_exception.rb', line 12 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 ⇒ String (readonly)
Returns the current value of key_id.
10 11 12 |
# File 'lib/worldline/connect/sdk/webhooks/secret_key_not_available_exception.rb', line 10 def key_id @key_id end |