Sha256: bbce0413e19f2adb4dd85008d1ec4f3a2fc7acef2af0b32a2627d7d70b819d33
Contents?: true
Size: 255 Bytes
Versions: 1
Compression:
Stored size: 255 Bytes
Contents
module Pay module Asaas module Webhooks class PaymentSync def call(event) Pay::Asaas::Charge.sync(event["payment"]["id"], object: event["payment"]) # TODO: Add notifications end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pay-asaas-0.1.0.pre.alpha | lib/pay/asaas/webhooks/payment_sync.rb |