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

Version Path
effective_postmark-0.4.0 app/mailers/effective/postmark_mailer.rb
effective_postmark-0.3.1 app/mailers/effective/postmark_mailer.rb
effective_postmark-0.3.0 app/mailers/effective/postmark_mailer.rb
effective_postmark-0.2.0 app/mailers/effective/postmark_mailer.rb
effective_postmark-0.1.3 app/mailers/effective/postmark_mailer.rb
effective_postmark-0.1.2 app/mailers/effective/postmark_mailer.rb
effective_postmark-0.1.1 app/mailers/effective/postmark_mailer.rb
effective_postmark-0.1.0 app/mailers/effective/postmark_mailer.rb