Sha256: 99648071c0d1e82f10af96119ef1f3dfe3cc297745f5ab6a963335d2235c0231
Contents?: true
Size: 690 Bytes
Versions: 44
Compression:
Stored size: 690 Bytes
Contents
module ActiveJob module QueueAdapters # == Active Job Inline adapter # # When enqueueing jobs with the Inline adapter the job will be executed # immediately. # # To use the Inline set the queue_adapter config to +:inline+. # # Rails.application.config.active_job.queue_adapter = :inline class InlineAdapter class << self def enqueue(job) #:nodoc: Base.execute(job.serialize) end def enqueue_at(*) #:nodoc: raise NotImplementedError.new("Use a queueing backend to enqueue jobs in the future. Read more at http://guides.rubyonrails.org/active_job_basics.html") end end end end end
Version data entries
44 entries across 43 versions & 8 rubygems