Exception: Stripe::SignatureVerificationError
- Inherits:
-
StripeError
- Object
- StandardError
- StripeError
- Stripe::SignatureVerificationError
- Defined in:
- lib/stripe/errors.rb
Overview
SignatureVerificationError is raised when the signature verification for a webhook fails
Instance Attribute Summary collapse
-
#sig_header ⇒ Object
Returns the value of attribute sig_header.
Attributes inherited from StripeError
#code, #error, #http_body, #http_headers, #http_status, #json_body, #message, #request_id, #response
Instance Method Summary collapse
-
#initialize(message, sig_header, http_body: nil) ⇒ SignatureVerificationError
constructor
A new instance of SignatureVerificationError.
Methods inherited from StripeError
#construct_error_object, #idempotent_replayed?, #to_s
Constructor Details
#initialize(message, sig_header, http_body: nil) ⇒ SignatureVerificationError
Returns a new instance of SignatureVerificationError.
115 116 117 118 |
# File 'lib/stripe/errors.rb', line 115 def initialize(, sig_header, http_body: nil) super(, http_body: http_body) @sig_header = sig_header end |
Instance Attribute Details
#sig_header ⇒ Object
Returns the value of attribute sig_header.
113 114 115 |
# File 'lib/stripe/errors.rb', line 113 def sig_header @sig_header end |