Module achlys_config

This is a utility module that provides shortcuts for operations on achlys application environment variables.

Authors: Igor Kopestenski (igor.kopestenski@uclouvain.be) [web site: https://github.com/Laymer/achlys].

Description

This is a utility module that provides shortcuts for operations on achlys application environment variables.

Function Index

get/1Equivalent to application:get_env(achlys, Key).
get/2Equivalent to application:get_env(achlys, Key, Default).
set/2Equivalent to application:set_env(achlys, Par, Val).

Function Details

get/1

get(Key::atom()) -> undefined | {ok, term()}

Equivalent to application:get_env(achlys, Key).

get/2

get(Key::atom(), Default::term()) -> {ok, term()}

Equivalent to application:get_env(achlys, Key, Default).

set/2

set(Par::atom(), Val::term()) -> ok

Equivalent to application:set_env(achlys, Par, Val).


Generated by EDoc