Sha256: c0bfc1d09412d5181116946e4c2e7e3b95b12710f9e737cd89a5bcdeef280a84
Contents?: true
Size: 697 Bytes
Versions: 5
Compression:
Stored size: 697 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/v4.2.0/active_job_basics.html") end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems