Class: PurchaseKit::Pay::Webhooks::SubscriptionExpired

Inherits:
Base
  • Object
show all
Defined in:
lib/purchasekit/pay/webhooks/subscription_expired.rb

Instance Method Summary collapse

Instance Method Details

#call(event) ⇒ Object



5
6
7
# File 'lib/purchasekit/pay/webhooks/subscription_expired.rb', line 5

def call(event)
  update_subscription(event, status: :expired)
end