Class: Camunda::Signal
- Includes:
- VariableSerialization
- Defined in:
- lib/camunda/signal.rb
Overview
Signal events are events which reference a named signal. Camunda::Signal is used to create a signal with variables.
Class Method Summary collapse
-
.create(hash = {}) ⇒ {Symbol => Hash,Faraday::Response}
Creates a signal within the process definition on the Camunda engine.
Methods included from VariableSerialization
Methods inherited from Model
base_path, find_by!, worker_id
Class Method Details
.create(hash = {}) ⇒ {Symbol => Hash,Faraday::Response}
Creates a signal within the process definition on the Camunda engine
12 13 14 15 |
# File 'lib/camunda/signal.rb', line 12 def self.create(hash={}) hash[:variables] = serialize_variables(hash[:variables]) if hash[:variables] request :post, 'signal', hash end |