Module: RuBittrex::ClientApi

Included in:
Client
Defined in:
lib/ru_bittrex/client_api.rb

Instance Method Summary collapse

Instance Method Details

#accountObject

Accounts



6
7
8
# File 'lib/ru_bittrex/client_api.rb', line 6

def 
  Account.get(cl)
end

#account_volumeObject



10
11
12
# File 'lib/ru_bittrex/client_api.rb', line 10

def 
  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

#addressesObject

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

#balancesObject

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

#currenciesObject

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

#marketsObject

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

#summariesObject

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

#ticker(market) ⇒ Object



84
85
86
# File 'lib/ru_bittrex/client_api.rb', line 84

def ticker(market)
  Ticker.get(market, cl)
end

#tickersObject

Tickers



80
81
82
# File 'lib/ru_bittrex/client_api.rb', line 80

def tickers
  Ticker.all(cl)
end