Sha256: 341a0762e9ff6014620d7d3f5e5c5c221b0c53ffcb5bea5cd72cb0c71d43efc9
Contents?: true
Size: 408 Bytes
Versions: 125
Compression:
Stored size: 408 Bytes
Contents
# frozen_string_literal: true module Spree class MailerPreviews class ReimbursementPreview < ActionMailer::Preview def reimbursement reimbursement = Reimbursement.last raise "Your database needs at least one Reimbursement to render this preview" unless reimbursement Spree::Config.reimbursement_mailer_class.reimbursement_email(reimbursement) end end end end
Version data entries
125 entries across 125 versions & 2 rubygems