Inttegro.Money.Currency (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro Currency value.

Summary

Types

t()

@type t() :: :ghs | :usd | :gbp | :eur | :cny | String.t()

Functions

decode(value)

@spec decode(String.t()) :: t()

encode(value)

@spec encode(t()) :: String.t()

values()

@spec values() :: [t()]