Sha256: 8362665efabfd6bfe9287420ab0b7d29c5d8677e69cff435fc7763fc63045602
Contents?: true
Size: 601 Bytes
Versions: 62
Compression:
Stored size: 601 Bytes
Contents
module Workarea module Storefront class PaymentMailer < Storefront::ApplicationMailer include TransactionalMailer def refunded(refund_id) @refund = Payment::Refund.find(refund_id) model = Order.find(@refund.payment_id) @order = Storefront::OrderViewModel.wrap(model) @recommendations = Storefront::EmailRecommendationsViewModel.wrap(model) mail( to: @order.email, subject: t( 'workarea.storefront.email.order_refund.subject', order_id: @order.id ) ) end end end end
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
workarea-storefront-3.4.13 | app/mailers/workarea/storefront/payment_mailer.rb |
workarea-storefront-3.4.12 | app/mailers/workarea/storefront/payment_mailer.rb |