Class: TigerBeetle::Transfer
- Inherits:
-
Struct
- Object
- Struct
- TigerBeetle::Transfer
- Defined in:
- lib/tigerbeetle/transfer.rb
Instance Method Summary collapse
-
#initialize(id:, debit_account_id: 0, credit_account_id: 0, amount: 0, pending_id: 0, user_data_128: 0, user_data_64: 0, user_data_32: 0, timeout: 0, ledger: 0, code: 0, flags: [], timestamp: nil) ⇒ Transfer
constructor
A new instance of Transfer.
Constructor Details
#initialize(id:, debit_account_id: 0, credit_account_id: 0, amount: 0, pending_id: 0, user_data_128: 0, user_data_64: 0, user_data_32: 0, timeout: 0, ledger: 0, code: 0, flags: [], timestamp: nil) ⇒ Transfer
Returns a new instance of Transfer.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/tigerbeetle/transfer.rb', line 8 def initialize( id:, debit_account_id: 0, credit_account_id: 0, amount: 0, pending_id: 0, user_data_128: 0, user_data_64: 0, user_data_32: 0, timeout: 0, ledger: 0, code: 0, flags: [], timestamp: nil ) super( id, debit_account_id, credit_account_id, amount, pending_id, user_data_128, user_data_64, user_data_32, timeout, ledger, code, flags, ) end |