Sha256: c3c0453e24546412cfbbe7ce3bd6b531b18688cb71ce3d3dca7da8b904c0be2b

Contents?: true

Size: 431 Bytes

Versions: 133

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

133 entries across 133 versions & 3 rubygems

Version Path
solidus_legacy_promotions-4.4.2 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_legacy_promotions-4.4.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_legacy_promotions-4.4.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.3.4 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.2.4 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.1.5 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.3.3 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.3.2 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.1.4 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.3.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.3.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.2.3 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.1.3 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.0.4 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.4.6 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.0.3 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.1.2 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.2.2 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-3.4.5 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-4.2.1 app/mailers/spree/promotion_code_batch_mailer.rb