lib/que/job_methods.rb
# Run the job with error handling and cleanup logic. Optionally support
# overriding the args, because it's necessary when jobs are invoked from
# ActiveJob.
Run the job with error handling and cleanup logic. Optionally support
overriding the args, because it's necessary when jobs are invoked from
ActiveJob.
Run the job with error handling and cleanup logic . Optionally support overriding the args because it ' s necessary when jobs are invoked from ActiveJob .
def finish
      return unless que_target
      if id = que_target.que_attrs[:id]
        Que.execute :finish_job, [id]
      end
      que_target.que_resolved = true
    end
def finish return unless que_target if id = que_target . que_attrs [ :id ] Que . execute :finish_job , [ id ] end que_target . que_resolved = true end
Run the job with error handling and cleanup logic.
Run the job with error handling and cleanup logic .