Class: JobEnqueueWorker
- Inherits:
- 
      Object
      
        - Object
- JobEnqueueWorker
 
- Defined in:
- app/workers/job_enqueue_worker.rb
Class Method Summary collapse
Class Method Details
.perform(id) ⇒ Object
| 5 6 7 | # File 'app/workers/job_enqueue_worker.rb', line 5 def perform(id) Job.find(id).enqueue end | 
.perform_async(id) ⇒ Object
| 9 10 11 | # File 'app/workers/job_enqueue_worker.rb', line 9 def perform_async(id) Resque.enqueue(self, id) end |