Money.ExchangeRates.init

You're seeing just the callback init, go back to Money.ExchangeRates module for more information.

Specs

Given the default configuration, returns an updated configuration at runtime during exchange rates service startup.

This callback is optional. If the callback is not defined, the default configuration returned by Money.ExchangeRates.default_config/0 is used.

The callback is expected to return a %Money.ExchangeRates.Config.t() struct which may have been updated. The configuration key :retriever_options is available for any service-specific configuration.