Class: Rubitcoin
- Inherits:
-
Object
- Object
- Rubitcoin
- Defined in:
- lib/rubitcoin.rb,
lib/rubitcoin/version.rb
Constant Summary collapse
- END_POINT =
"https://www.bitstamp.net/api/ticker/"- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.fetch ⇒ Object
7 8 9 |
# File 'lib/rubitcoin.rb', line 7 def fetch Hash.[] raw_fetch.map { |k, v| [k.to_sym, v.to_f] } end |