Method: Increase::Webhook::Signature.verify?

Defined in:
lib/increase/webhook/signature.rb

.verify?(**args) ⇒ Boolean

Verifies the signature of a webhook payload (without raising an error)

Returns:

  • (Boolean)


12
13
14
15
16
# File 'lib/increase/webhook/signature.rb', line 12

def self.verify?(**args)
  verify(**args)
rescue WebhookSignatureVerificationError
  false
end