module ActiveJob::QueueName::ClassMethods
def queue_as(part_name=nil, &block)
end
post.to_feed!
def perform(post)
queue_as :feeds
class PublishToFeedJob < ActiveJob::Base
Specifies the name of the queue to process the job on.
def queue_as(part_name=nil, &block) if block_given? self.queue_name = block else self.queue_name = queue_name_from_part(part_name) end end