Class: Spina::Shop::ExportMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/spina/shop/export_mailer.rb

Instance Method Summary collapse

Instance Method Details

#exported(url, email) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'app/mailers/spina/shop/export_mailer.rb', line 5

def exported(url, email)
  @url = url

  mail(
    to: email, 
    from: "#{.name} <#{.email}>",
    subject: t('spina.shop.emails.exported_title')
  )
end