instance method
queue_name
Ruby on Rails 4.2.9
Since v4.2.9Signature
queue_name()
Returns the name of the queue the job will be run on
Source
# File activejob/lib/active_job/queue_name.rb, line 43
def queue_name
if @queue_name.is_a?(Proc)
@queue_name = self.class.queue_name_from_part(instance_exec(&@queue_name))
end
@queue_name
end
Defined in activejob/lib/active_job/queue_name.rb line 43
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveJob::QueueName