Class: Billy::Paddle::Webhooks::SubscriptionCreated
- Inherits:
-
Object
- Object
- Billy::Paddle::Webhooks::SubscriptionCreated
- Defined in:
- lib/billy/paddle/webhooks/subscription_created.rb
Instance Method Summary collapse
Instance Method Details
#call(event) ⇒ Object
6 7 8 |
# File 'lib/billy/paddle/webhooks/subscription_created.rb', line 6 def call(event) Billy::Paddle::Subscription.sync(paddle_id: event.subscription_id, object: event) end |