Sha256: 99d0428a855b5580e74cb6c898712dc4604a1afd7af2f08ab5b287a26b47a3e9
Contents?: true
Size: 537 Bytes
Versions: 8
Compression:
Stored size: 537 Bytes
Contents
module Effective class PostmarkMailer < EffectivePostmark.parent_mailer_class include EffectiveMailer include EffectivePostmarkMailer def reactivated(resource, opts = {}) raise('expected an effective_postmark_user') unless resource.class.try(:effective_postmark_user?) @user = resource subject = subject_for(__method__, 'Your email address has been reactivated', resource, opts) headers = headers_for(resource, opts) mail(to: resource.email, subject: subject, **headers) end end end
Version data entries
8 entries across 8 versions & 1 rubygems