JobWithStatus
# File lib/resque_ui/overrides/resque_status/chained_job_with_status.rb, line 15 def self.enqueue(klass, options = {}) #tie this job to the status of the calling job opts = HashWithIndifferentAccess.new(options) raise ArgumentError, "You must supply a :uuid attribute in your call to create." unless opts['uuid'] uuid = opts['uuid'] Resque.enqueue(klass, uuid, options) uuid end
# File lib/resque_ui/overrides/resque_status/chained_job_with_status.rb, line 7 def completed(*messages) super(*messages) # "You must override this method to provide your own logic of when to actually call complete." # if counter(:processed) >= options['total'] # super # end end
Generated with the Darkfish Rdoc Generator 2.