Module: Bitstamper::Rest::Public::Currencies
- Included in:
- Client
- Defined in:
- lib/bitstamper/rest/public/currencies.rb
Instance Method Summary collapse
Instance Method Details
#eur_usd_rate ⇒ Object
6 7 8 9 |
# File 'lib/bitstamper/rest/public/currencies.rb', line 6 def eur_usd_rate response = get("/eur_usd") {buy: response&.fetch("buy", nil)&.to_f, sell: response&.fetch("sell", nil)&.to_f} end |