Class: Coinbase::ExchangeRates

Inherits:
Object
  • Object
show all
Defined in:
lib/coinbase/exchange_rates.rb

Instance Method Summary collapse

Instance Method Details

#get(currency) ⇒ Hash

Get exchange rates for a given currency.

Returns:

  • (Hash)

    a list of spot prices.



8
9
10
# File 'lib/coinbase/exchange_rates.rb', line 8

def get(currency)
  send_request("/exchange-rates")
end