View Source Money.ExchangeRates.Cache.Dets (Money v5.19.0)

Money.ExchangeRates.Cache implementation for :dets

Summary

Functions

get(key)

historic_rates(date)

Callback implementation for Money.ExchangeRates.Cache.historic_rates/1.

init()

Callback implementation for Money.ExchangeRates.Cache.init/0.

last_updated()

latest_rates()

Callback implementation for Money.ExchangeRates.Cache.latest_rates/0.

put(key, value)

store_historic_rates(rates, date)

Callback implementation for Money.ExchangeRates.Cache.store_historic_rates/2.

store_latest_rates(rates, retrieved_at)

Callback implementation for Money.ExchangeRates.Cache.store_latest_rates/2.

terminate()

Callback implementation for Money.ExchangeRates.Cache.terminate/0.