Class: Commontator::SubscriptionsMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Commontator::SubscriptionsMailer
- Defined in:
- app/mailers/commontator/subscriptions_mailer.rb
Instance Method Summary collapse
Instance Method Details
#comment_created(comment, recipients) ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/mailers/commontator/subscriptions_mailer.rb', line 4 def comment_created(comment, recipients) setup_variables(comment, recipients) mail(@mail_params).tap do || .mailgun_recipient_variables = @mailgun_recipient_variables if @using_mailgun end end |