mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-05 00:02:14 -05:00
18 lines
381 B
Ruby
18 lines
381 B
Ruby
# frozen_string_literal: true
|
|
# typed: true
|
|
|
|
module Stripe
|
|
class StripeClient
|
|
sig do
|
|
params(
|
|
payload: String,
|
|
sig_header: String,
|
|
secret: String,
|
|
tolerance: T.nilable(Integer)
|
|
)
|
|
.returns(::Stripe::V2::Core::EventNotification)
|
|
end
|
|
def parse_event_notification(payload, sig_header, secret, tolerance:); end
|
|
end
|
|
end
|