Cain v0.3.16 Cain.Variable View Source

Handling variable formatting for sending or receiving variable data to Camunda.

Link to this section Summary

Types

Name of the variable.

Currently supported values to handle backward and forward formatting.

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() :: binary() | atom()

Name of the variable.

Specs

set() :: %{required(name()) => values()} | struct()

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 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 given Camunda-REST response body variables.

Type Json and Object will be decoded on receive.