Exception: Ingenico::Direct::SDK::Webhooks::SignatureValidationException
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Ingenico::Direct::SDK::Webhooks::SignatureValidationException
- Defined in:
- lib/ingenico/direct/sdk/webhooks/signature_validation_exception.rb
Overview
Raised when an error occurred when validating Webhooks signatures
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(args) ⇒ SignatureValidationException
constructor
Creates a new SignatureValidationException.
Constructor Details
#initialize(args) ⇒ SignatureValidationException
Creates a new SignatureValidationException
12 13 14 15 16 |
# File 'lib/ingenico/direct/sdk/webhooks/signature_validation_exception.rb', line 12 def initialize(args) super(args[:message]) # NOTE: can be nil # store backtrace info if exception given set_backtrace(args[:cause].backtrace) if args[:cause] end |