Sha256: 9e740b0466373b9504b4be3715a229bdd5de32b438c3c578bc382331da344c52
Contents?: true
Size: 327 Bytes
Versions: 14
Compression:
Stored size: 327 Bytes
Contents
module Spree class TestMailer < BaseMailer def test_email(user) recipient = user.respond_to?(:id) ? user : Spree.user_class.find(user) subject = "#{Spree::Store.current.name} #{Spree.t('test_mailer.test_email.subject')}" mail(to: recipient.email, from: from_address, subject: subject) end end end
Version data entries
14 entries across 14 versions & 1 rubygems