Sha256: b822ed15cd27061257f9b422c77c5d86e585a85c35605f882cf0476ec3e24167
Contents?: true
Size: 694 Bytes
Versions: 5
Compression:
Stored size: 694 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 < AbstractAdapter 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 https://guides.rubyonrails.org/active_job_basics.html" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems