Welcome to mirror list, hosted at ThFree Co, Russian Federation.

notifier_base.rb « mail « workers « app - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d0a7032803b23d92b78bdc318cb2215f95ec86f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Workers
  module Mail
    class NotifierBase < Base
      sidekiq_options queue: :low

      def perform(*args)
        Notifier.send_notification(self.class.name.demodulize.underscore, *args).deliver_now
      end
    end
  end
end