Class: Rworkflow::SidekiqLifecycle
- Defined in:
- lib/rworkflow/sidekiq_lifecycle.rb
Constant Summary
Constants inherited from Lifecycle
Lifecycle::CARDINALITY_ALL_STARTED, Lifecycle::DEFAULT_CARDINALITY, Lifecycle::DEFAULT_STATE_OPTIONS, Lifecycle::STATE_POLICY_NO_WAIT
Instance Attribute Summary
Attributes inherited from Lifecycle
#default, #initial, #state_class, #state_options, #states
Instance Method Summary collapse
-
#initialize(**options) ⇒ SidekiqLifecycle
constructor
A new instance of SidekiqLifecycle.
Methods inherited from Lifecycle
#concat!, #rename_state, serialize, #serialize, #state, #to_graph, #to_h, #transition, unserialize
Constructor Details
#initialize(**options) ⇒ SidekiqLifecycle
Returns a new instance of SidekiqLifecycle.
3 4 5 6 |
# File 'lib/rworkflow/sidekiq_lifecycle.rb', line 3 def initialize(**) [:state_class] ||= SidekiqState super(**) end |