module ActiveJob::QueueAdapter::ClassMethods
Includes the setter method for changing the active queue adapter.
Constants
- QUEUE_ADAPTER_METHODS
Public Instance Methods
# File activejob/lib/active_job/queue_adapter.rb, line 20 def queue_adapter _queue_adapter end
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 27 def queue_adapter=(name_or_adapter_or_class) self._queue_adapter = interpret_adapter(name_or_adapter_or_class) end
Specify the backend queue provider. The default queue adapter is the :async
queue. See QueueAdapters for more information.
© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.