Sha256: 9cb252d46499d9672e99ff3bc8d18c1fee959662be9c1c46c8a9fb8929b8ae32
Contents?: true
Size: 1006 Bytes
Versions: 20
Compression:
Stored size: 1006 Bytes
Contents
module Shoppe class OrderMailer < ActionMailer::Base def received(order) @order = order mail :from => Shoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('shoppe.order_mailer.received.subject', :default => "Order Confirmation") end def accepted(order) @order = order mail :from => Shoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('shoppe.order_mailer.received.accepted', :default => "Order Accepted") end def rejected(order) @order = order mail :from => Shoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('shoppe.order_mailer.received.rejected', :default => "Order Rejected") end def shipped(order) @order = order mail :from => Shoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('shoppe.order_mailer.received.shipped', :default => "Order Shipped") end end end
Version data entries
20 entries across 20 versions & 3 rubygems