Exception: Hubspot::InvalidSignatureError
- Inherits:
-
StandardError
- Object
- StandardError
- Hubspot::InvalidSignatureError
- Defined in:
- lib/hubspot/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg: nil, signature: nil, signature_version: nil, hash_result: nil) ⇒ InvalidSignatureError
constructor
A new instance of InvalidSignatureError.
Constructor Details
#initialize(msg: nil, signature: nil, signature_version: nil, hash_result: nil) ⇒ InvalidSignatureError
Returns a new instance of InvalidSignatureError.
5 6 7 8 9 10 11 12 |
# File 'lib/hubspot/exceptions.rb', line 5 def initialize(msg: nil, signature: nil, signature_version: nil, hash_result: nil) @signature = signature @signature_version = signature_version @hash_result = hash_result msg = "Invalid signature passed to request" if msg.nil? super(msg) end |