Exception: NakoPay::SignatureVerificationError
- Defined in:
- lib/nakopay/errors.rb
Overview
Raised by Webhook.construct_event when verification fails.
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code: nil) ⇒ SignatureVerificationError
constructor
A new instance of SignatureVerificationError.
Constructor Details
#initialize(message, code: nil) ⇒ SignatureVerificationError
Returns a new instance of SignatureVerificationError.
59 60 61 62 |
# File 'lib/nakopay/errors.rb', line 59 def initialize(, code: nil) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
57 58 59 |
# File 'lib/nakopay/errors.rb', line 57 def code @code end |