Class: ActiveJob::QueueAdapters::LitejobAdapter
- Inherits:
-
Object
- Object
- ActiveJob::QueueAdapters::LitejobAdapter
- Defined in:
- lib/active_job/queue_adapters/litejob_adapter.rb
Overview
Litestack adapter for Active Job
Rails.application.config.active_job.queue_adapter = :litejob
Defined Under Namespace
Classes: Job
Instance Method Summary collapse
-
#enqueue(job) ⇒ Object
:nodoc:.
-
#enqueue_at(job, timestamp) ⇒ Object
:nodoc:.
-
#initialize(options = {}) ⇒ LitejobAdapter
constructor
A new instance of LitejobAdapter.
Constructor Details
#initialize(options = {}) ⇒ LitejobAdapter
Returns a new instance of LitejobAdapter.
15 16 17 18 19 |
# File 'lib/active_job/queue_adapters/litejob_adapter.rb', line 15 def initialize( = {}) # we currently don't honour individual options per job class # possible in the future? # Job.options = DEFAULT_OPTIONS.merge(options) end |