Money.ExchangeRates.OpenExchangeRates.get_historic_rates
You're seeing just the function
get_historic_rates, go back to Money.ExchangeRates.OpenExchangeRates module for more information.
Retrieves the historic exchange rates from Open Exchange Rates site.
dateis a date returned byDate.new/3or any struct with the elements:year,:monthand:day.configis the retrieval configuration. When invoked from the exchange rates services this will be the config returned fromMoney.ExchangeRates.config/0
Returns:
{:ok, rates}if the rates can be retrieved{:error, reason}if rates cannot be retrieved
Typically this function is called by the exchange rates retrieval service although it can be called outside that context as required.