Class: Spree::ExportMailer
- Inherits:
-
BaseMailer
- Object
- BaseMailer
- Spree::ExportMailer
- Defined in:
- app/mailers/spree/export_mailer.rb
Instance Method Summary collapse
Instance Method Details
#current_store ⇒ Object
15 16 17 |
# File 'app/mailers/spree/export_mailer.rb', line 15 def current_store @current_store ||= @export.store end |
#export_done(export) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'app/mailers/spree/export_mailer.rb', line 3 def export_done(export) @export = export mail( to: @export.user.email, subject: Spree.t('export_mailer.export_done.subject', export_number: @export.number).to_s, from: from_address, reply_to: reply_to_address, store_url: current_store.url ) end |