Faker Elixir (octopus) v1.0.2 FakerElixir.Currency

Generate fake data for the domain currency

Summary

Functions

Return currency code

Return currency struct with different keys

Return currency name

Return currency symbol

Functions

code()

Return currency code

Example

iex> FakerElixir.Currency.code
"ZMK"
make()

Return currency struct with different keys

Example

iex> FakerElixir.Currency.make
%{code: "UAH", country: "Ukraine", name: "Ukrainian Hryvnia", symbol: "₴"}
name()

Return currency name

Example

iex> FakerElixir.Currency.name
"East Caribbean Dollar"
symbol()

Return currency symbol

Example

iex> FakerElixir.Currency.symbol
"€"