Class: Qe::Testing
- Inherits:
-
Object
- Object
- Qe::Testing
- Defined in:
- lib/qe/testing.rb
Class Method Summary collapse
Class Method Details
.enqueue(worker, options = {}) ⇒ Object
13 14 15 |
# File 'lib/qe/testing.rb', line 13 def self.enqueue(worker, = {}) Qe.jobs << {worker: worker, options: } end |
.schedule(worker, run_at, options = {}) ⇒ Object
17 18 19 |
# File 'lib/qe/testing.rb', line 17 def self.schedule(worker, run_at, = {}) Qe.jobs << {worker: worker, options: , run_at: run_at} end |