Class: BitcoinAverage::MarketTicker

Inherits:
Ticker
  • Object
show all
Includes:
Singleton
Defined in:
lib/bitcoinaverage/market_ticker.rb

Instance Attribute Summary collapse

Attributes inherited from Ticker

#ask, #avg_24h, #bid, #last, #timestamp

Instance Method Summary collapse

Methods inherited from Ticker

#request_info

Methods included from Requester

#available_currencies, #get, #known_currency?

Instance Attribute Details

#total_volObject

Returns the value of attribute total_vol.



7
8
9
# File 'lib/bitcoinaverage/market_ticker.rb', line 7

def total_vol
  @total_vol
end

Instance Method Details

#avg_typeObject



8
9
10
# File 'lib/bitcoinaverage/market_ticker.rb', line 8

def avg_type
  'market'
end