Glific v0.3.1 Glific.Flags View Source

Centralizing all the code we need to handle flags across Glific. For now, we'll also put operational code on flags here, as we figure out the right structure

Link to this section Summary

Functions

See if we have valid dialogflow credentials, if so, enable dialogflow else disable it

Update the out of office flag, so we know if we should actually do any work

Link to this section Functions

Specs

dialogflow() :: {:ok, boolean()}

See if we have valid dialogflow credentials, if so, enable dialogflow else disable it

Specs

out_of_office_update() :: nil

Update the out of office flag, so we know if we should actually do any work