Cain v0.3.16 Cain.Variable View Source
Handling variable formatting for sending or receiving variable data to Camunda.
Link to this section Summary
Functions
Cast given set of variables into required Camunda-REST body format.
Parse given Camunda-REST response body variables.
Link to this section Types
Specs
Name of the variable.
Specs
Specs
values() :: binary() | atom() | boolean() | integer() | float() | map() | list() | Date.t() | DateTime.t() | NaiveDateTime.t()
Currently supported values to handle backward and forward formatting.
Link to this section Functions
Specs
cast(set()) :: Cain.Endpoint.Body.variables()
Cast given set of variables into required Camunda-REST body format.
Given struct, list or map value will be formatted into variable type 'Json'.
Specs
parse(Cain.Endpoint.Body.variables()) :: set()
Parse given Camunda-REST response body variables.
Type Json
and Object
will be decoded on receive.