Money.ExchangeRates.latest_rates
You're seeing just the function
latest_rates, go back to Money.ExchangeRates module for more information.
Specs
latest_rates() :: {:ok, map()} | {:error, {Exception.t(), binary()}}
Return the latest exchange rates.
Returns:
{:ok, rates}if exchange rates are successfully retrieved.ratesis a map of exchange rates.{:error, reason}if no exchange rates can be returned.
This function looks up the latest exchange rates in a an ETS table
called :exchange_rates. The actual retrieval of rates is requested
through Money.ExchangeRates.Retriever.latest_rates/0.