Money.ExchangeRates.last_updated

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

Specs

last_updated() :: {:ok, DateTime.t()} | {:error, {Exception.t(), binary()}}

Return the timestamp of the last successful retrieval of exchange rates or {:error, reason} if no timestamp is known.

Example

Money.ExchangeRates.last_updated
#> {:ok,
 %DateTime{calendar: Calendar.ISO, day: 20, hour: 12, microsecond: {731942, 6},
  minute: 36, month: 11, second: 6, std_offset: 0, time_zone: "Etc/UTC",
  utc_offset: 0, year: 2016, zone_abbr: "UTC"}}