Sha256: 9a0f9fd0afa3ca991a71551e60c8a0cf07d8d2971f11da7d24e658e0628336a1
Contents?: true
Size: 370 Bytes
Versions: 62
Compression:
Stored size: 370 Bytes
Contents
module Workarea module Storefront class OrderMailerPreview < ActionMailer::Preview def order_confirmation order = OrderViewModel.new(Order.placed.last) OrderMailer.confirmation(order.id) end def reminder order = Order.where(:email.exists => true).first OrderMailer.reminder(order.id) end end end end
Version data entries
62 entries across 62 versions & 1 rubygems