ElixirLokaliseApi.Config (ElixirLokaliseApi v2.0.0) View Source
Stores configuration variables used to communicate with Lokalise APIv2.
All settings also accept {:system, "ENV_VAR_NAME"}
to read their
values from environment variables at runtime.
Link to this section Summary
Functions
Returns Lokalise APIv2 token. Set it inside your mix.exs
Returns the base URL of the Lokalise APIv2
A light wrapper around Application.get_env/2
, providing automatic support for
{:system, "VAR"}
tuples. Based on https://github.com/danielberkompas/ex_twilio/blob/master/lib/ex_twilio/config.ex
Returns package version
Link to this section Functions
Returns Lokalise APIv2 token. Set it inside your mix.exs
:
config :elixir_lokalise_api, api_token: "YOUR_API_TOKEN"
Returns the base URL of the Lokalise APIv2
A light wrapper around Application.get_env/2
, providing automatic support for
{:system, "VAR"}
tuples. Based on https://github.com/danielberkompas/ex_twilio/blob/master/lib/ex_twilio/config.ex
Returns package version