Class: ActiveQueue::Adapter::DefaultAdapter
- Inherits:
-
Object
- Object
- ActiveQueue::Adapter::DefaultAdapter
- Defined in:
- lib/active_queue/adapter.rb
Instance Method Summary collapse
Instance Method Details
#adapter_name ⇒ Object
5 6 7 |
# File 'lib/active_queue/adapter.rb', line 5 def adapter_name "insta-queue" end |
#enqueue(job_klass, options = {}) ⇒ Object
8 9 10 |
# File 'lib/active_queue/adapter.rb', line 8 def enqueue(job_klass, ={}) job_klass.new().perform end |