Sha256: f9102ac7decf9bbe0e0090bb637e8913c6ef7c055b0930a407d25cfc4afaa997
Contents?: true
Size: 604 Bytes
Versions: 5
Compression:
Stored size: 604 Bytes
Contents
module Locomotive module Ecommerce class PurchaseMailer < ActionMailer::Base default from: Engine.config_or_default('contact') # Subject can be set in your I18n file at config/locales/en.yml # with the following lookup: # # en.purchase_mailer.purchase_confirmation.subject # def purchase_confirmation(user, purchase) @purchase = purchase @contact = Engine.config_or_default('contact') @shop_name = Engine.config_or_default('shop_name') mail to: user.email, subject: "Purchase Confirmation" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems