houdini/lib/email_job_queue.rb

5 lines
103 B
Ruby
Raw Normal View History

module EmailJobQueue
def self.queue(klass, *args)
Delayed::Job.enqueue klass.new(*args)
end
end