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
#from_address, #mail, #money
Instance Method Details
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
|
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
|