Money.ExchangeRates.get_historic_rates
You're seeing just the callback
get_historic_rates
, go back to Money.ExchangeRates module for more information.
Specs
get_historic_rates(Date.t(), config :: Money.ExchangeRates.Config.t()) :: {:ok, map()} | {:error, binary()}
Invoked to return the historic exchange rates from the configured exchange rate retrieval service.
config
is an%Money.ExchangeRataes.Config{}
struct
Returns {:ok, map_of_historic_rates}
or {:error, reason}