5 6 7
# File 'lib/pay/lago/webhooks/invoice_drafted.rb', line 5 def call(event) Pay::Lago::Charge.sync(event.invoice.lago_id, object: event.invoice) end