Sha256: 396dc240c109c031d817368279c2171ce6ec7c6b6600778fb9067f79ae9977e3
Contents?: true
Size: 674 Bytes
Versions: 32
Compression:
Stored size: 674 Bytes
Contents
# frozen_string_literal: true module ActiveJob module QueueAdapters # == Active Job Inline adapter # # When enqueuing 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 def enqueue(job) #:nodoc: Base.execute(job.serialize) end def enqueue_at(*) #:nodoc: raise NotImplementedError, "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
Version data entries
32 entries across 32 versions & 2 rubygems