Sha256: 8b7f516a808dde8c453fae162d2627a7b2fb459a7b0640e12c9dca34145c2d55

Contents?: true

Size: 364 Bytes

Versions: 11

Compression:

Stored size: 364 Bytes

Contents

class PassMailer < ActionMailer::Base
  layout "mail"

  def pass_info_for(person, from, passes)
    @person = person
    @pass_summary = PassSummary.new(person.organization, passes)

    options = Hash.new.tap do |o|
      o[:to] = person.email
      o[:from] = from
      o[:subject] = "Your Passes"
      o[:reply_to] = from
    end

    mail(options)
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/mailers/pass_mailer.rb
artfully_ose-1.3.0.pre3 app/mailers/pass_mailer.rb
artfully_ose-1.3.0.pre2 app/mailers/pass_mailer.rb
artfully_ose-1.3.0.pre1 app/mailers/pass_mailer.rb
artfully_ose-1.2.0 app/mailers/pass_mailer.rb
artfully_ose-1.2.0.beta.1 app/mailers/pass_mailer.rb
artfully_ose-1.2.0.alpha.2 app/mailers/pass_mailer.rb
artfully_ose-1.2.0.alpha.1 app/mailers/pass_mailer.rb
artfully_ose-1.2.0.pre.27 app/mailers/pass_mailer.rb
artfully_ose-1.2.0.pre.26 app/mailers/pass_mailer.rb
artfully_ose-1.2.0.pre.24 app/mailers/pass_mailer.rb