Module: Resque::Plugins::ChainedStatus::InstanceOverrides
- Defined in:
- lib/resque_manager/overrides/resque_status/chained_status.rb
Instance Method Summary collapse
- #completed(*messages) ⇒ Object
-
#name ⇒ Object
OVERRIDE to just use the name of it’s parent job.
Instance Method Details
#completed(*messages) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/resque_manager/overrides/resque_status/chained_status.rb', line 19 def completed(*) super(*) # "You must override this method to provide your own logic of when to actually call complete." # if counter(:processed) >= options['total'] # super # end end |
#name ⇒ Object
OVERRIDE to just use the name of it’s parent job.
15 16 17 |
# File 'lib/resque_manager/overrides/resque_status/chained_status.rb', line 15 def name status.name rescue nil end |