Includes the ability to override the default queue name and prefix.
Methods
- Q
Instance Public methods
queue_as(part_name = nil, &block)
Link
Specifies the name of the queue to process the job on.
class PublishToFeedJob < ActiveJob::Base
queue_as :feeds
def perform(post)
post.to_feed!
end
end