Lti_1p3.DataProviders.EctoProvider.Config (Lti 1p3 Ecto Provider v0.6.0)
Methods for accessing ecto provider config
Link to this section Summary
Functions
Gets the default configurations lti_1p3
Gets the environment configuration for key :lti_1p3 in app's environment
Gets the key value from the configuration.
If not found, it'll fall back to the given default value which is nil
if not specified.
Retrieves the repo module from the config, or raises an exception.
Retrieves the given schema module from the config
Link to this section Types
config()
Specs
config() :: Keyword.t()
Link to this section Functions
default_config()
Specs
default_config() :: config()
Gets the default configurations lti_1p3
env_config()
Specs
env_config() :: config()
Gets the environment configuration for key :lti_1p3 in app's environment
get(key, default \\ nil)
Gets the key value from the configuration.
If not found, it'll fall back to the given default value which is nil
if not specified.
repo!()
Specs
repo!() :: atom()
Retrieves the repo module from the config, or raises an exception.
schema(name)
Specs
Retrieves the given schema module from the config