class Bitstamp::Ticker
Attributes
ask[RW]
bid[RW]
high[RW]
last[RW]
low[RW]
timestamp[RW]
volume[RW]
Public Class Methods
from_api()
click to toggle source
# File lib/bitstamp/ticker.rb, line 5 def self.from_api Bitstamp::Helper.parse_object!(Bitstamp::Net.get('/ticker').body_str, self) end
method_missing(method, *args)
click to toggle source
Calls superclass method
# File lib/bitstamp/ticker.rb, line 9 def self.method_missing method, *args ticker = self.from_api return ticker.send(method) if ticker.respond_to? method super end