Module: TigerBeetle
- Defined in:
- lib/tigerbeetle.rb,
lib/tigerbeetle/id.rb,
lib/tigerbeetle/error.rb,
lib/tigerbeetle/client.rb,
lib/tigerbeetle/account.rb,
lib/tigerbeetle/request.rb,
lib/tigerbeetle/version.rb,
lib/tigerbeetle/transfer.rb,
lib/tigerbeetle/query_filter.rb,
lib/tigerbeetle/account_filter.rb,
lib/tigerbeetle/atomic_counter.rb,
lib/tigerbeetle/account_balance.rb,
lib/tigerbeetle/converters/base.rb,
lib/tigerbeetle/converters/time.rb,
lib/tigerbeetle/converters/account.rb,
lib/tigerbeetle/converters/transfer.rb,
lib/tigerbeetle/converters/uint_128.rb,
lib/tigerbeetle/converters/query_filter.rb,
lib/tigerbeetle/converters/account_filter.rb,
lib/tigerbeetle/converters/account_balance.rb,
lib/tigerbeetle/converters/create_accounts_result.rb,
lib/tigerbeetle/converters/create_transfers_result.rb
Defined Under Namespace
Modules: Converters, ID
Classes: Account, AccountBalance, AccountFilter, AtomicCounter, Client, ClientError, Error, QueryFilter, Request, Transfer
Constant Summary
collapse
- ACCOUNT_PARAMS =
i[
id debits_pending debits_posted credits_pending credits_posted user_data_128
user_data_64 user_data_32 ledger code flags timestamp
]
- VERSION =
'0.0.19'.freeze
- TB_VERSION =
'0.16.55'.freeze
- TRANSFER_PARAMS =
i[
id debit_account_id credit_account_id amount pending_id user_data_128
user_data_64 user_data_32 timeout ledger code flags timestamp
]
- QUERY_FILTER_PARAMS =
i[
user_data_128 user_data_64 user_data_32 ledger code timestamp_min timestamp_max limit flags
]
- ACCOUNT_FILTER_PARAMS =
i[
account_id user_data_128 user_data_64 user_data_32 code timestamp_min timestamp_max limit flags
]
- ACCOUNT_BALANCE_PARAMS =
i[
debits_pending debits_posted credits_pending credits_posted timestamp
]
Class Method Summary
collapse
Class Method Details
.connect(cluster_id = 0, address = '3000') ⇒ Object
10
11
12
|
# File 'lib/tigerbeetle.rb', line 10
def self.connect(cluster_id = 0, address = '3000')
TigerBeetle::Client.new(cluster_id, address)
end
|
.id ⇒ Object
6
7
8
|
# File 'lib/tigerbeetle.rb', line 6
def self.id
ID.generate
end
|