Exception: Certynix::WebhookSignatureError

Inherits:
Error
  • Object
show all
Defined in:
lib/certynix/errors.rb

Overview

HMAC inválido

Instance Attribute Summary

Attributes inherited from Error

#code, #request_id, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ WebhookSignatureError

Returns a new instance of WebhookSignatureError.



85
86
87
# File 'lib/certynix/errors.rb', line 85

def initialize(message)
  super(message: message, code: 'INVALID_WEBHOOK_SIGNATURE', status_code: 0)
end