module

Polar::Webhooks

Constants

TOLERANCE_SECS = 300
VERSION = "v1"

Class methods

validate_event(body : String | Bytes, headers : Hash(String, String) | HTTP::Headers, secret : String, tolerance : Int32 = TOLERANCE_SECS) : JSON::Any
Source