Module: RocketJob::Plugins::Job::StateMachine
- Extended by:
- ActiveSupport::Concern
- Included in:
- Job
- Defined in:
- lib/rocket_job/plugins/job/state_machine.rb
Overview
State machine for RocketJob::Job
Instance Method Summary collapse
-
#pausable? ⇒ Boolean
All regular jobs can be paused or resumed whilst queued.
Instance Method Details
#pausable? ⇒ Boolean
All regular jobs can be paused or resumed whilst queued.
115 116 117 |
# File 'lib/rocket_job/plugins/job/state_machine.rb', line 115 def pausable? queued? || paused? || pausable end |