CampaignFlow.Application (CampaignFlow Client v2.0.0)

View Source

The CampaignFlow Application module.

Starts and supervises TokenManager processes for each configured environment.

Summary

Functions

Returns the TokenManager process name for a given environment.

Functions

token_manager_name(environment)

@spec token_manager_name(atom()) :: atom()

Returns the TokenManager process name for a given environment.

Examples

iex> CampaignFlow.Application.token_manager_name(:prod)
CampaignFlow.TokenManager.Prod

iex> CampaignFlow.Application.token_manager_name(:test)
CampaignFlow.TokenManager.Test