Exception: PaymobRuby::SignatureVerificationError
- Inherits:
-
PaymobError
- Object
- StandardError
- PaymobError
- PaymobRuby::SignatureVerificationError
- Defined in:
- lib/paymob_ruby/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 PaymobError
#error, #http_body, #http_headers, #http_status, #json_body, #message
Instance Method Summary collapse
-
#initialize(message, sig_header, http_body: nil) ⇒ SignatureVerificationError
constructor
A new instance of SignatureVerificationError.
Methods inherited from PaymobError
Constructor Details
#initialize(message, sig_header, http_body: nil) ⇒ SignatureVerificationError
Returns a new instance of SignatureVerificationError.
62 63 64 65 |
# File 'lib/paymob_ruby/errors.rb', line 62 def initialize(, sig_header, http_body: nil) super(, http_body:) @sig_header = sig_header end |
Instance Attribute Details
#sig_header ⇒ Object
Returns the value of attribute sig_header.
60 61 62 |
# File 'lib/paymob_ruby/errors.rb', line 60 def sig_header @sig_header end |