Module: RuBittrex::ClientApi
- Included in:
- Client
- Defined in:
- lib/ru_bittrex/client_api.rb
Instance Method Summary collapse
-
#account ⇒ Object
Accounts.
- #account_volume ⇒ Object
- #address(currency) ⇒ Object
-
#addresses ⇒ Object
Addresses.
- #balance(currency) ⇒ Object
-
#balances ⇒ Object
Balances.
- #closed_deposits(params = {}) ⇒ Object
-
#currencies ⇒ Object
Currencies.
- #currency(symbol) ⇒ Object
- #deposit(id) ⇒ Object
- #market(symbol) ⇒ Object
-
#markets ⇒ Object
Markets.
-
#open_deposits(params = {}) ⇒ Object
Deposits.
-
#summaries ⇒ Object
Summaries.
- #summary(market) ⇒ Object
- #ticker(market) ⇒ Object
-
#tickers ⇒ Object
Tickers.
Instance Method Details
#account ⇒ Object
Accounts
6 7 8 |
# File 'lib/ru_bittrex/client_api.rb', line 6 def account Account.get(cl) end |
#account_volume ⇒ Object
10 11 12 |
# File 'lib/ru_bittrex/client_api.rb', line 10 def account_volume Account.volume(cl) end |
#address(currency) ⇒ Object
20 21 22 |
# File 'lib/ru_bittrex/client_api.rb', line 20 def address(currency) Address.get(currency, cl) end |
#addresses ⇒ Object
Addresses
16 17 18 |
# File 'lib/ru_bittrex/client_api.rb', line 16 def addresses Address.all(cl) end |
#balance(currency) ⇒ Object
30 31 32 |
# File 'lib/ru_bittrex/client_api.rb', line 30 def balance(currency) Balance.get(currency, cl) end |
#balances ⇒ Object
Balances
26 27 28 |
# File 'lib/ru_bittrex/client_api.rb', line 26 def balances Balance.all(cl) end |
#closed_deposits(params = {}) ⇒ Object
50 51 52 |
# File 'lib/ru_bittrex/client_api.rb', line 50 def closed_deposits(params = {}) Deposit.closed(params.merge(cl)) end |
#currencies ⇒ Object
Currencies
36 37 38 |
# File 'lib/ru_bittrex/client_api.rb', line 36 def currencies Currency.all(cl) end |
#currency(symbol) ⇒ Object
40 41 42 |
# File 'lib/ru_bittrex/client_api.rb', line 40 def currency(symbol) Currency.get(symbol, cl) end |
#deposit(id) ⇒ Object
54 55 56 |
# File 'lib/ru_bittrex/client_api.rb', line 54 def deposit(id) Deposit.get(id, cl) end |
#market(symbol) ⇒ Object
64 65 66 |
# File 'lib/ru_bittrex/client_api.rb', line 64 def market(symbol) Market.get(symbol, cl) end |
#markets ⇒ Object
Markets
60 61 62 |
# File 'lib/ru_bittrex/client_api.rb', line 60 def markets Market.all(cl) end |
#open_deposits(params = {}) ⇒ Object
Deposits
46 47 48 |
# File 'lib/ru_bittrex/client_api.rb', line 46 def open_deposits(params = {}) Deposit.open(params.merge(cl)) end |
#summaries ⇒ Object
Summaries
70 71 72 |
# File 'lib/ru_bittrex/client_api.rb', line 70 def summaries Summary.all(cl) end |
#summary(market) ⇒ Object
74 75 76 |
# File 'lib/ru_bittrex/client_api.rb', line 74 def summary(market) Summary.get(market, cl) end |