Module: Camunda::VariableSerialization

Extended by:
ActiveSupport::Concern
Included in:
ExternalTask, ProcessDefinition, Signal, Task
Defined in:
lib/camunda/variable_serialization.rb

Overview

The VariableSerialization module adds information to variables so Camunda can parse them. It adds types annotations and serializes hashes and array to JSON. Camunda engine cannot search on snake_case variables so it changes variable names to camelCase.

See Also:

Instance Method Summary collapse

Instance Method Details

#serialize_variables(variables) ⇒ Object

Wrapper for class level method



10
11
12
# File 'lib/camunda/variable_serialization.rb', line 10

def serialize_variables(variables)
  self.class.serialize_variables(variables)
end