Sha256: e6dd6aef4585b2770d9cef0b5e75db8cd7badd5b752aea2540ba3ddf80227bbf
Contents?: true
Size: 779 Bytes
Versions: 2
Compression:
Stored size: 779 Bytes
Contents
module Effective class PollsMailer < ActionMailer::Base default from: EffectivePolls.mailer[:default_from] layout EffectivePolls.mailer[:layout].presence || 'effective_polls_mailer_layout' def poll_upcoming_reminder(poll_notification, bcc) mail(bcc: bcc, body: poll_notification.body, subject: poll_notification.subject) end def poll_start(poll_notification, bcc) mail(bcc: bcc, body: poll_notification.body, subject: poll_notification.subject) end def poll_reminder(poll_notification, bcc) mail(bcc: bcc, body: poll_notification.body, subject: poll_notification.subject) end def poll_end(poll_notification, bcc) mail(bcc: bcc, body: poll_notification.body, subject: poll_notification.subject) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_polls-0.0.2 | app/mailers/effective/polls_mailer.rb |
effective_polls-0.0.1 | app/mailers/effective/polls_mailer.rb |