Class: Corzinus::CheckoutMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- Corzinus::CheckoutMailer
- Defined in:
- app/mailers/corzinus/checkout_mailer.rb
Instance Method Summary collapse
Instance Method Details
#complete(person, order) ⇒ Object
5 6 7 8 9 |
# File 'app/mailers/corzinus/checkout_mailer.rb', line 5 def complete(person, order) @person = person @order = order mail to: @person.email, subject: "Complete Order ##{@order.id}" end |