Class: Workers::Mail::AlsoCommented

Inherits:
Base
  • Object
show all
Defined in:
app/workers/mail/also_commented.rb

Instance Method Summary collapse

Methods inherited from Base

#suppress_annoying_errors

Instance Method Details

#perform(recipient_id, sender_id, comment_id) ⇒ Object


6
7
8
9
10
# File 'app/workers/mail/also_commented.rb', line 6

def perform(recipient_id, sender_id, comment_id)
  if email = Notifier.also_commented(recipient_id, sender_id, comment_id)
    email.deliver
  end
end