diaspora/app/models/job/mail/also_commented.rb

13 lines
282 B
Ruby

module Job
module Mail
class AlsoCommented < Base
@queue = :mail
def self.perform(recipient_id, sender_id, comment_id)
if email = Notifier.also_commented(recipient_id, sender_id, comment_id)
email.deliver
end
end
end
end
end