Sha256: ca815c7208fdc057fb53cfc823afda2f723d8e71e78fd79e56fdd14e96788180

Contents?: true

Size: 381 Bytes

Versions: 6

Compression:

Stored size: 381 Bytes

Contents

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

  def daily(tix, donations)
    @tix = tix
    @donations = donations
    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

6 entries across 6 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.6 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.5 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.4 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.3 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.2 app/mailers/reports_mailer.rb
artfully_ose-1.2.0.pre.1 app/mailers/reports_mailer.rb