123456789_123456789_123456789_123456789_123456789_

Module: ActiveJob::QueueAdapter

Do not use. This module is for internal use only.
Relationships & Source Files
Namespace Children
Modules:
Extension / Inclusion / Inheritance Descendants
Included In:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: activejob/lib/active_job/queue_adapter.rb

Overview

Active Job Queue adapter

The QueueAdapter module is used to load the correct adapter. The default queue adapter is the :async queue.

Class Method Summary

::ActiveSupport::Concern - Extended

class_methods

Define class methods from given block.

included

Evaluate given block in context of base class, so that you can write class macros here.

prepended

Evaluate given block in context of base class, so that you can write class macros here.

append_features, prepend_features

DSL Calls

included

[ GitHub ]


22
23
24
25
26
27
28
29
# File 'activejob/lib/active_job/queue_adapter.rb', line 22

included do
  class_attribute :_queue_adapter_name, instance_accessor: false, instance_predicate: false
  class_attribute :_queue_adapter, instance_accessor: false, instance_predicate: false

  delegate :queue_adapter, to: :class

  self.queue_adapter = :async
end