debian-mirror-gitlab/app/workers/concerns/mail_scheduler_queue.rb

12 lines
207 B
Ruby
Raw Normal View History

2018-10-15 14:42:47 +05:30
module MailSchedulerQueue
extend ActiveSupport::Concern
included do
queue_namespace :mail_scheduler
end
def notification_service
@notification_service ||= NotificationService.new
end
end