Exception: Blueticks::Errors::WebhookVerificationError
- Inherits:
-
BluetickError
- Object
- StandardError
- BluetickError
- Blueticks::Errors::WebhookVerificationError
- Defined in:
- lib/blueticks/errors.rb
Overview
Raised when a webhook signature cannot be verified.
Instance Attribute Summary
Attributes inherited from BluetickError
#code, #request_id, #response, #status_code
Instance Method Summary collapse
-
#initialize(reason) ⇒ WebhookVerificationError
constructor
A new instance of WebhookVerificationError.
Constructor Details
#initialize(reason) ⇒ WebhookVerificationError
Returns a new instance of WebhookVerificationError.
57 58 59 60 61 62 63 64 |
# File 'lib/blueticks/errors.rb', line 57 def initialize(reason) super( message: reason, status_code: nil, code: "webhook_verification_failed", request_id: nil ) end |