Faker Elixir (octopus) v1.0.2
FakerElixir.Currency
Generate fake data for the domain currency
Summary
Return currency struct with different keys
Functions
Return currency code
Example
iex> FakerElixir.Currency.code
"ZMK"
Return currency struct with different keys
Example
iex> FakerElixir.Currency.make
%{code: "UAH", country: "Ukraine", name: "Ukrainian Hryvnia", symbol: "₴"}
Return currency name
Example
iex> FakerElixir.Currency.name
"East Caribbean Dollar"
Return currency symbol
Example
iex> FakerElixir.Currency.symbol
"€"