View Source Glific.Flags (Glific v5.1.6)
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
@spec dialogflow(Glific.Partners.Organization.t()) :: nil
See if we have valid dialogflow credentials, if so, enable dialogflow else disable it
@spec out_of_office_update(Glific.Partners.Organization.t() | non_neg_integer()) :: nil
Update the out of office flag, so we know if we should actually do any work