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.



145
146
147
# File 'lib/sendly/webhooks.rb', line 145

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