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