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_core_devise_token_auth-2.8.0.alpha.9 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core_devise_token_auth-2.8.0.alpha.8 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core_devise_token_auth-2.8.0.alpha.7 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core_devise_token_auth-2.8.0.alpha.6 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core_devise_token_auth-2.8.0.alpha.5 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core_devise_token_auth-2.8.0.alpha.4 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core_devise_token_auth-2.8.0.alpha.3 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core_devise_token_auth-2.8.0.alpha.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core_devise_token_auth-2.8.0.alpha.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.7.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.6.1 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.6.0 app/mailers/spree/promotion_code_batch_mailer.rb
solidus_core-2.6.0.rc1 app/mailers/spree/promotion_code_batch_mailer.rb