2018-06-27 07:31:41 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-30 13:05:20 +00:00
|
|
|
module MailSchedulerQueue
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
|
|
|
included do
|
|
|
|
queue_namespace :mail_scheduler
|
|
|
|
end
|
2018-04-20 17:37:38 +00:00
|
|
|
|
|
|
|
def notification_service
|
|
|
|
@notification_service ||= NotificationService.new
|
|
|
|
end
|
2018-03-30 13:05:20 +00:00
|
|
|
end
|