edge badge

Includes the setter method for changing the active queue adapter.

Methods
Q
Constants
QUEUE_ADAPTER_METHODS = [:enqueue, :enqueue_at].freeze
 
Instance Public methods
queue_adapter()

Returns the backend queue provider. The default queue adapter is the :async queue. See QueueAdapters for more information.

# File activejob/lib/active_job/queue_adapter.rb, line 20
def queue_adapter
  _queue_adapter
end
queue_adapter=(name_or_adapter_or_class)

Specify the backend queue provider. The default queue adapter is the :async queue. See QueueAdapters for more information.

# File activejob/lib/active_job/queue_adapter.rb, line 31
def queue_adapter=(name_or_adapter_or_class)
  interpret_adapter(name_or_adapter_or_class)
end
queue_adapter_name()
# File activejob/lib/active_job/queue_adapter.rb, line 24
def queue_adapter_name
  _queue_adapter_name
end