4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'app/services/bloom_remit/create_txn.rb', line 4
def self.call(
target_slug:,
sender:,
owner:,
amount:,
account_name:,
account_id:,
external_id:
)
::BloomRemit::Txns::Operations::Create.(txn: {
sender_id: sender.id,
sender_type: sender.class.base_class.name,
amount: amount,
account_name: account_name,
account_id: account_id,
target_slug: target_slug,
owner_id: owner.id,
owner_type: owner.class.base_class.name,
external_id: external_id,
})
end
|