Class: Stall::CustomerMailer
- Inherits:
-
BaseMailer
- Object
- BaseMailer
- Stall::CustomerMailer
- Defined in:
- app/mailers/stall/customer_mailer.rb
Instance Method Summary collapse
Instance Method Details
#order_paid_email(cart) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'app/mailers/stall/customer_mailer.rb', line 3 def order_paid_email(cart) I18n.with_locale(cart.customer.locale) do @cart = cart mail from: sender_email_for(cart), to: cart.customer.email, subject: I18n.t('stall.mailers.customer.order_paid_email.subject', ref: cart.reference) end end |