diaspora/app/models/jobs/mail/also_commented.rb
2011-10-09 23:34:03 -05:00

13 lines
283 B
Ruby

module Jobs
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