Sha256: 59d3d3b7ee9782f531ac09948a483cda1d4fcddfc8d5a8ce081e0d939cd5183a

Contents?: true

Size: 400 Bytes

Versions: 20

Compression:

Stored size: 400 Bytes

Contents

module Spree
  class PromotionCodeBatchMailer < Spree::BaseMailer
    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

20 entries across 20 versions & 1 rubygems

Version Path
solidus_core-2.5.2 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.5.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.5.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.5.0.rc1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.5.0.beta2 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.5.0.beta1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.4.2 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.3.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.4.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.2.2 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.4.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.4.0.rc1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.4.0.beta1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.3.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.3.0.rc3 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.3.0.rc2 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.3.0.rc1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.3.0.beta1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.2.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.2.0 app/mailers/spree/promotion_code_batch_mailer.rb