Current section
Files
Jump to
Current section
Files
src/cfclient_app.erl
%% @doc
%% cfclient application.
%% @end
-module(cfclient_app).
-behaviour(application).
-export([start/2, stop/1]).
start(_StartType, _StartArgs) ->
ApiKey = application:get_env(cfclient, api_key, undefined),
Config = application:get_env(cfclient, config, []),
cfclient_sup:start_link([{api_key, ApiKey}, {config, Config}]).
stop(_State) -> ok.