Sha256: c3c0453e24546412cfbbe7ce3bd6b531b18688cb71ce3d3dca7da8b904c0be2b

Contents?: true

Size: 431 Bytes

Versions: 138

Compression:

Stored size: 431 Bytes

Contents

# frozen_string_literal: true

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

138 entries across 138 versions & 3 rubygems

Version Path
solidus_core-3.4.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.4.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.3.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.2.6 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.1.9 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.3.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.2.5 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.2.4 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.2.3 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.1.8 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.0.8 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.2.2 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.2.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.2.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.2.0.alpha app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.0.7 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.11.17 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.1.7 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.11.16 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.0.6 app/mailers/spree/promotion_code_batch_mailer.rb