11 12 13 14 15
# File 'app/workers/workarea/send_refund_email.rb', line 11 def perform(id) refund = Payment::Refund.find(id) return if refund.total.zero? Storefront::PaymentMailer.refunded(id.to_s).deliver_now end