Exception: Telnyx::SignatureVerificationError
- Inherits:
-
TelnyxError
- Object
- StandardError
- TelnyxError
- Telnyx::SignatureVerificationError
- Defined in:
- lib/telnyx/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 TelnyxError
#errors, #http_body, #http_headers, #http_status, #json_body, #request_id, #response
Instance Method Summary collapse
-
#initialize(message, sig_header, http_body: nil) ⇒ SignatureVerificationError
constructor
A new instance of SignatureVerificationError.
Methods inherited from TelnyxError
#error_count, #message, #other_errors_message, #stringify_errors, #stringify_hash, #to_s
Constructor Details
#initialize(message, sig_header, http_body: nil) ⇒ SignatureVerificationError
Returns a new instance of SignatureVerificationError.
161 162 163 164 |
# File 'lib/telnyx/errors.rb', line 161 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.
159 160 161 |
# File 'lib/telnyx/errors.rb', line 159 def sig_header @sig_header end |