Sha256: 1a7be64308968e8de3ab323b68fae5080e47014a7a81d65d5a96c799926ede3e
Contents?: true
Size: 307 Bytes
Versions: 2
Compression:
Stored size: 307 Bytes
Contents
module Pay module Lago module Webhooks class SubscriptionStarted def call(event) subscription = event.subscription Pay::Lago::Subscription.sync(subscription.external_customer_id, subscription.external_id, object: subscription) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pay-lago-0.1.1 | lib/pay/lago/webhooks/subscription_started.rb |
pay-lago-0.1.0 | lib/pay/lago/webhooks/subscription_started.rb |