Class: Spree::PromotionCodeBatchMailer

Inherits:
ApplicationMailer
  • Object
show all
Defined in:
app/mailers/spree/promotion_code_batch_mailer.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) promotion_code_batch_errored(promotion_code_batch)



8
9
10
11
# File 'app/mailers/spree/promotion_code_batch_mailer.rb', line 8

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

- (Object) promotion_code_batch_finished(promotion_code_batch)



3
4
5
6
# File 'app/mailers/spree/promotion_code_batch_mailer.rb', line 3

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