Sha256: 75cbd323bc31d3f3d6ebccc3a3596bd0997fe41d382fdcd59d2745b9e3606df3
Contents?: true
Size: 851 Bytes
Versions: 10
Compression:
Stored size: 851 Bytes
Contents
class Shoppe::OrderMailer < ActionMailer::Base default :from => "#{Shoppe.config[:store_name]} <#{Shoppe.config[:email_address]}>" def received(order) @order = order mail :to => order.email_address, :subject => I18n.t('shoppe.order_mailer.received.subject', :default => "Order Confirmation") end def accepted(order) @order = order mail :to => order.email_address, :subject => I18n.t('shoppe.order_mailer.received.accepted', :default => "Order Accepted") end def rejected(order) @order = order mail :to => order.email_address, :subject => I18n.t('shoppe.order_mailer.received.rejected', :default => "Order Rejected") end def shipped(order) @order = order mail :to => order.email_address, :subject => I18n.t('shoppe.order_mailer.received.shipped', :default => "Order Shipped") end end
Version data entries
10 entries across 10 versions & 1 rubygems