Brasilapi.Exchange.DailyExchangeRate (BrasilAPI v0.1.5)

View Source

Represents daily exchange rate information for a specific currency and date.

Summary

Functions

Creates a DailyExchangeRate struct from API response data.

Types

t()

@type t() :: %Brasilapi.Exchange.DailyExchangeRate{
  cotacoes: [Brasilapi.Exchange.ExchangeRate.t()],
  data: String.t(),
  moeda: String.t()
}

Functions

from_map(map)

@spec from_map(map()) :: t()

Creates a DailyExchangeRate struct from API response data.