Packages

Money functions for operations on and localization of a money data type with support for ISO 4217 currencies and ISO 24165 digial tokens (crypto currencies).

Current section

Files

Jump to
ex_money config test.exs
Raw

config/test.exs

use Mix.Config
config :ex_money, Money.Repo,
adapter: Ecto.Adapters.Postgres,
username: "kip",
database: "money_dev",
hostname: "localhost",
pool_size: 10
config :ex_money, ecto_repos: [Money.Repo]
config :ex_money,
auto_start_exchange_rate_service: false,
exchange_rates_retrieve_every: 300_000,
open_exchange_rates_app_id: {:system, "OPEN_EXCHANGE_RATES_APP_ID"},
preload_historic_rates: Date.range(~D[2017-01-01], ~D[2017-01-02]),
api_module: Money.ExchangeRates.Test,
log_failure: :warn,
log_info: nil,
callback_module: Money.ExchangeRates.CallbackTest
config :ex_cldr,
default_locale: "en",
locales: ["en", "root"]