class Pay::Stripe::Webhooks::SubscriptionCreated
Public Instance Methods
call(event)
click to toggle source
# File lib/pay/stripe/webhooks/subscription_created.rb, line 5 def call(event) Pay::Stripe::Subscription.sync(event.data.object.id, stripe_account: event.try(:account)) end