Exception: Helio::SignatureVerificationError

Inherits:
HelioError
  • Object
show all
Defined in:
lib/helio/errors.rb

Overview

SignatureVerificationError is raised when the signature verification for a webhook fails

Instance Attribute Summary collapse

Attributes inherited from HelioError

#http_body, #http_headers, #http_status, #json_body, #message, #request_id, #response

Instance Method Summary collapse

Methods inherited from HelioError

#to_s

Constructor Details

#initialize(message, sig_header, http_body: nil) ⇒ SignatureVerificationError

Returns a new instance of SignatureVerificationError.



105
106
107
108
# File 'lib/helio/errors.rb', line 105

def initialize(message, sig_header, http_body: nil)
  super(message, http_body: http_body)
  @sig_header = sig_header
end

Instance Attribute Details

#sig_headerObject

Returns the value of attribute sig_header.



103
104
105
# File 'lib/helio/errors.rb', line 103

def sig_header
  @sig_header
end