Sha256: 5dfeec1eefd1f64e0add904e0231a7759986fa84a8187223150bb14977759083

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

module Spree
  class PromotionCodeBatchMailer < ApplicationMailer
    def promotion_code_batch_finished(promotion_code_batch)
      @promotion_code_batch = promotion_code_batch
      mail(to: promotion_code_batch.email)
    end

    def promotion_code_batch_errored(promotion_code_batch)
      @promotion_code_batch = promotion_code_batch
      mail(to: promotion_code_batch.email)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_core-2.2.0.rc1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.2.0.beta1 app/mailers/spree/promotion_code_batch_mailer.rb