Class: Camunda::Signal

Inherits:
Model
  • Object
show all
Includes:
VariableSerialization
Defined in:
lib/camunda/signal.rb

Class Method Summary collapse

Methods included from VariableSerialization

#serialize_variables

Methods inherited from Model

worker_id

Class Method Details

.create(hash = {}) ⇒ Object



5
6
7
8
# File 'lib/camunda/signal.rb', line 5

def self.create(hash={})
  hash[:variables] = serialize_variables(hash[:variables]) if hash[:variables]
  post_raw collection_path, hash
end