Class: Pay::PaddleBilling::Webhooks::Subscription

Inherits:
Object
  • Object
show all
Defined in:
lib/pay/paddle_billing/webhooks/subscription.rb

Instance Method Summary collapse

Instance Method Details

#call(event) ⇒ Object



5
6
7
# File 'lib/pay/paddle_billing/webhooks/subscription.rb', line 5

def call(event)
  Pay::PaddleBilling::Subscription.sync(event.id, object: event)
end