Module: Cobinhood::Client::REST::WalletAPI
- Included in:
- Cobinhood::Client::REST
- Defined in:
- lib/cobinhood/client/rest/wallet_api.rb
Overview
Public: A Module containing all of the Public API endpoints
Instance Method Summary collapse
- #balances ⇒ Object (also: #get_wallet_balances)
- #deposit(deposit_id) ⇒ Object (also: #get_deposit)
- #deposit_addresses ⇒ Object (also: #get_deposit_addresses)
- #deposits ⇒ Object (also: #get_all_deposits)
- #ledger ⇒ Object (also: #get_ledger_entries)
- #withdrawal(withdrawal_id) ⇒ Object (also: #get_withdrawal)
- #withdrawal_addresses ⇒ Object (also: #get_withdrawal_addresses)
- #withdrawals ⇒ Object (also: #get_all_withdrawals)
Instance Method Details
#balances ⇒ Object Also known as: get_wallet_balances
7 8 9 |
# File 'lib/cobinhood/client/rest/wallet_api.rb', line 7 def balances request :wallet, :get, :balances end |
#deposit(deposit_id) ⇒ Object Also known as: get_deposit
37 38 39 |
# File 'lib/cobinhood/client/rest/wallet_api.rb', line 37 def deposit deposit_id request :wallet, :get, :deposit, deposit_id: deposit_id end |
#deposit_addresses ⇒ Object Also known as: get_deposit_addresses
17 18 19 |
# File 'lib/cobinhood/client/rest/wallet_api.rb', line 17 def deposit_addresses request :wallet, :get, :deposit_addresses end |
#deposits ⇒ Object Also known as: get_all_deposits
42 43 44 |
# File 'lib/cobinhood/client/rest/wallet_api.rb', line 42 def deposits request :wallet, :get, :deposits end |
#ledger ⇒ Object Also known as: get_ledger_entries
12 13 14 |
# File 'lib/cobinhood/client/rest/wallet_api.rb', line 12 def ledger request :wallet, :get, :ledger end |
#withdrawal(withdrawal_id) ⇒ Object Also known as: get_withdrawal
27 28 29 |
# File 'lib/cobinhood/client/rest/wallet_api.rb', line 27 def withdrawal withdrawal_id request :wallet, :get, :withdrawal, withdrawal_id: withdrawal_id end |
#withdrawal_addresses ⇒ Object Also known as: get_withdrawal_addresses
22 23 24 |
# File 'lib/cobinhood/client/rest/wallet_api.rb', line 22 def withdrawal_addresses request :wallet, :get, :withdrawal_addresses end |
#withdrawals ⇒ Object Also known as: get_all_withdrawals
32 33 34 |
# File 'lib/cobinhood/client/rest/wallet_api.rb', line 32 def withdrawals request :wallet, :get, :withdrawals end |