Class: BitcoinAverage::GlobalTicker

Inherits:
Ticker
  • Object
show all
Includes:
Singleton
Defined in:
lib/bitcoinaverage/global_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

#volume_btcObject

Returns the value of attribute volume_btc.



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

def volume_btc
  @volume_btc
end

#volume_percentObject

Returns the value of attribute volume_percent.



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

def volume_percent
  @volume_percent
end

Instance Method Details

#avg_typeObject



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

def avg_type
  'global'
end