Glific v0.3.1 Glific.Flows.Category View Source
The Category object which encapsulates one category in a given node.
Link to this section Summary
Functions
Execute a category, given a message stream.
Process a json structure from floweditor to the Glific data types
Link to this section Types
Specs
t() :: %Glific.Flows.Category{ cases: [Glific.Flows.Case.t()] | [], exit: Glific.Flows.Exit.t() | nil, exit_uuid: Ecto.UUID.t() | nil, id: term(), name: String.t() | nil, uuid: Ecto.UUID.t() | nil }
Link to this section Functions
Specs
execute(t(), Glific.Flows.FlowContext.t(), [String.t()]) :: {:ok, Glific.Flows.FlowContext.t(), [String.t()]} | {:error, String.t()}
Execute a category, given a message stream.
Specs
Process a json structure from floweditor to the Glific data types