Class: CheckoutMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- CheckoutMailer
- Defined in:
- app/mailers/checkout_mailer.rb
Instance Method Summary collapse
Instance Method Details
#email_confirmation(to_email, order, payment) ⇒ Object
4 5 6 7 8 |
# File 'app/mailers/checkout_mailer.rb', line 4 def email_confirmation(to_email, order, payment) @order = order @payment = payment mail(:to => to_email, :subject => 'Your Confirmation') end |