Class: Pay::PaddleBilling::Webhooks::TransactionCompleted

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

Instance Method Summary collapse

Instance Method Details

#call(event) ⇒ Object



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

def call(event)
  Pay::PaddleBilling::Charge.sync(event.id)
end