Sha256: 2b96662e523cfd4ae8ea86e1a903834293152d14edd2f7efb8934c6974d901b4

Contents?: true

Size: 814 Bytes

Versions: 26

Compression:

Stored size: 814 Bytes

Contents

class BillingMailer < ActionMailer::Base
  def receipt(account, transaction)
    @account = account
    @transaction = transaction
    mail(:to       => account.customer.email,
         :subject  => I18n.t(:subject,
                             :scope   => [:saucy, :mailers, :billing_mailer, :receipt],
                             :default => "Subscription receipt"),
         :from     => Saucy::Configuration.mailer_sender)
  end

  def problem(account, transaction)
    @account = account
    mail(:to       => account.customer.email,
         :subject  => I18n.t(:subject,
                             :scope   => [:saucy, :mailers, :billing_mailer, :problem],
                             :default => "Problem with subscription billing"),
         :from     => Saucy::Configuration.mailer_sender)
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
saucy-0.2.28.1 app/mailers/billing_mailer.rb
saucy-0.2.28 app/mailers/billing_mailer.rb
saucy-0.2.27 app/mailers/billing_mailer.rb
saucy-0.2.26 app/mailers/billing_mailer.rb
saucy-0.2.25 app/mailers/billing_mailer.rb
saucy-0.2.24 app/mailers/billing_mailer.rb
saucy-0.2.21 app/mailers/billing_mailer.rb
saucy-0.2.20 app/mailers/billing_mailer.rb
saucy-0.2.18 app/mailers/billing_mailer.rb
saucy-0.2.17 app/mailers/billing_mailer.rb
saucy-0.2.16 app/mailers/billing_mailer.rb
saucy-0.2.15 app/mailers/billing_mailer.rb
saucy-0.2.14 app/mailers/billing_mailer.rb
saucy-0.2.13 app/mailers/billing_mailer.rb
saucy-0.2.12 app/mailers/billing_mailer.rb
saucy-0.2.11 app/mailers/billing_mailer.rb
saucy-0.2.10 app/mailers/billing_mailer.rb
saucy-0.2.9 app/mailers/billing_mailer.rb
saucy-0.2.8.1 app/mailers/billing_mailer.rb
saucy-0.2.8 app/mailers/billing_mailer.rb