Class: Spree::PromotionCodeBatchMailer
- Inherits:
-
BaseMailer
- Object
- ActionMailer::Base
- BaseMailer
- Spree::PromotionCodeBatchMailer
show all
- Defined in:
- app/mailers/spree/promotion_code_batch_mailer.rb
Instance Method Summary
collapse
Methods inherited from BaseMailer
#bcc_address, #from_address, #mail, #money
Instance Method Details
10
11
12
13
|
# File 'app/mailers/spree/promotion_code_batch_mailer.rb', line 10
def promotion_code_batch_errored(promotion_code_batch)
@promotion_code_batch = promotion_code_batch
mail(to: promotion_code_batch.email)
end
|
5
6
7
8
|
# File 'app/mailers/spree/promotion_code_batch_mailer.rb', line 5
def promotion_code_batch_finished(promotion_code_batch)
@promotion_code_batch = promotion_code_batch
mail(to: promotion_code_batch.email)
end
|