import 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 :localize, default_locale: :en, allow_runtime_locale_download: true config :ex_money, auto_start_exchange_rate_service: false, exchange_rates_retrieve_every: :never, open_exchange_rates_app_id: {:system, "OPEN_EXCHANGE_RATES_APP_ID"}, api_module: Money.ExchangeRatesMock, log_failure: nil, log_info: nil, json_library: Jason, # Currencies declared in compile-time configuration so they can be used in # compile-time positions (module attributes) by the ~M sigil and Money.new/2. # Exercised by Money.CompileTimeCurrencyTest. :XCT is a 3-character private # code; :XCT4 is a 4-character custom code (they exercise both sigil # modifier lengths). custom_currencies: [ {:XCT, name: "Compile Time Currency", symbol: "⊙", digits: 2}, {:XCT4, name: "Compile Time Custom", digits: 0} ]