Method: Sibit::BestOf#price
- Defined in:
- lib/sibit/bestof.rb
#price(currency = 'USD') ⇒ Object
Current price of BTC in USD (float returned).
43 44 45 46 47 |
# File 'lib/sibit/bestof.rb', line 43 def price(currency = 'USD') best_of('price') do |api| api.price(currency) end end |