Exception: Sendly::WebhookSignatureError

Inherits:
Error
  • Object
show all
Defined in:
lib/sendly/webhooks.rb

Instance Attribute Summary

Attributes inherited from Error

#code, #details, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Invalid webhook signature') ⇒ WebhookSignatureError

Returns a new instance of WebhookSignatureError.



161
162
163
# File 'lib/sendly/webhooks.rb', line 161

def initialize(message = 'Invalid webhook signature')
  super(message, code: 'WEBHOOK_SIGNATURE_ERROR')
end