Sha256: c2f1a0801fdb5e51fc753833f7190da04246788488610288deedad7ce71c0af9
Contents?: true
Size: 613 Bytes
Versions: 6
Compression:
Stored size: 613 Bytes
Contents
module Workarea module Storefront class ReviewMailer < Storefront::ApplicationMailer include TransactionalMailer def review_request(request_id) @request = Review::Request.find(request_id) @content = Content::Email.find_content('review_request') @product = Storefront::ProductViewModel.wrap( Catalog::Product.find(@request.product_id) ) mail( to: @request.email, subject: t( 'workarea.storefront.email.review_request.subject', product: @product.name ) ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems