Etsy v0.1.0 Etsy.Env View Source
Helper module to get environment variables from the host application.
Most options can be set using either a System environment variable or an elixir configuration.
Link to this section Summary
Link to this section Functions
Specs
library_version() :: String.t()
Get the current library version.
Specs
scopes() :: list()
Set API scopes.
default value: ["profile_r", "email_r", "transactions_r", "feedback_r"]
Set using System env or elixir config:
ETSY_SCOPES="profile_r;email_r;transactions_r;feedback_r"
config :etsy, scopes: ~w(profile_r email_r transactions_r feedback_r)