diaspora/app/workers/mail/also_commented.rb
2015-02-27 16:58:39 +01:00

14 lines
300 B
Ruby

module Workers
module Mail
class AlsoCommented < Base
sidekiq_options queue: :mail
def perform(recipient_id, sender_id, comment_id)
if email = Notifier.also_commented(recipient_id, sender_id, comment_id)
email.deliver_now
end
end
end
end
end