Class: Pay::LemonSqueezy::Webhooks::Subscription

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

Instance Method Summary collapse

Instance Method Details

#call(subscription) ⇒ Object



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

def call(subscription)
  Pay::LemonSqueezy::Subscription.sync(subscription.id, object: subscription)
end