Class: BackgroundJobs::DirectCall::JobQueue
- Inherits:
-
Object
- Object
- BackgroundJobs::DirectCall::JobQueue
- Defined in:
- lib/background_jobs/strategies/direct_call/job_queue.rb
Instance Method Summary collapse
Instance Method Details
#enqueue(job_type, job_id, attrs, options = {}) ⇒ Object
6 7 8 |
# File 'lib/background_jobs/strategies/direct_call/job_queue.rb', line 6 def enqueue(job_type, job_id, attrs, = {}) JobFactory.build(job_type, attrs).execute end |