Class: Comable::OrderMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Comable::OrderMailer
- Includes:
- ApplicationHelper
- Defined in:
- app/mailers/comable/order_mailer.rb
Instance Method Summary collapse
Methods included from ApplicationHelper
#current_comable_user, #current_order, #current_store, #current_trackers, #liquidize, #name_with_honorific, #name_with_quantity, #next_order_path, #store_location, #update_order_path
Instance Method Details
#complete(order) ⇒ Object
7 8 9 10 |
# File 'app/mailers/comable/order_mailer.rb', line 7 def complete(order) @order = order mail(from: current_store.email, to: order.email, subject: subject_for(order)) end |