Class: Pay::LemonSqueezy::Webhooks::SubscriptionPayment

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

Instance Method Summary collapse

Instance Method Details

#call(subscription_invoice) ⇒ Object



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

def call(subscription_invoice)
  Pay::LemonSqueezy::Charge.sync_subscription_invoice(subscription_invoice.id, object: subscription_invoice)
end