Sha256: 9bfed9706addc565b9a415095d05ff5ec199e37126df4d0e4b2452cc47b13253

Contents?: true

Size: 425 Bytes

Versions: 13

Compression:

Stored size: 425 Bytes

Contents

class ReportsMailer < ActionMailer::Base
  default :from => ARTFULLY_CONFIG[:contact_email]
  layout "mail"
  add_template_helper(ArtfullyOseHelper)

  def daily(tix, donations, memberships)
    @tix = tix
    @donations = donations
    @memberships = memberships
    mail to: @tix.organization.owner.email, bcc: "developers@fracturedatlas.org", subject: "Daily Report for #{@tix.start_date.strftime("%b %d, %Y")}"
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.21 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.20 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.19 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.18 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.17 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.16 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.15 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.12 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.11 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.10 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.9 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.8 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.7 app/mailers/reports_mailer.rb