Sha256: 380ab8b20bc53bb4b74d163cea320563368fbbad4480dcc4844bc66e1efb0e54
Contents?: true
Size: 608 Bytes
Versions: 1
Compression:
Stored size: 608 Bytes
Contents
module BloomRemit module Txns class Post extend LightService::Action expects :client, :txn executed do |c| txn = c.txn c.client.create_payment( sender_id: txn.sender.send(BloomRemit.sender_id_method), account_name: txn.account_name, account_number: txn.account_id, callback_url: Engine.routes.url_helpers.api_v1_txn_url(txn), dest_currency: "PHP", orig_currency: "PHP", payout_method: txn.recipient.slug, receivable_in_dest_currency: txn.amount, ) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bloom_remit-0.0.1 | app/services/bloom_remit/txns/post.rb |