Class: Piggybak::Notifier
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Piggybak::Notifier
- Defined in:
- app/mailers/piggybak/notifier.rb
Instance Method Summary collapse
Instance Method Details
#order_notification(order) ⇒ Object
6 7 8 9 10 11 |
# File 'app/mailers/piggybak/notifier.rb', line 6 def order_notification(order) @order = order mail(:to => order.email, :subject => "Order ##{@order.id}") end |