Class: ActiveJob::QueueAdapters::InlineAdapter
- Inherits:
-
Object
- Object
- ActiveJob::QueueAdapters::InlineAdapter
- Defined in:
- lib/active_job/queue_adapters/inline_adapter.rb
Class Method Summary collapse
Class Method Details
.enqueue(job) ⇒ Object
5 6 7 |
# File 'lib/active_job/queue_adapters/inline_adapter.rb', line 5 def enqueue(job) Base.execute(job.serialize) end |
.enqueue_at ⇒ Object
9 10 11 |
# File 'lib/active_job/queue_adapters/inline_adapter.rb', line 9 def enqueue_at(*) raise NotImplementedError.new("Use a queueing backend to enqueue jobs in the future. Read more at https://github.com/rails/activejob") end |