Class: SolidusFriendlyPromotions::PromotionCodeBatchMailer
- Inherits:
-
Spree::BaseMailer
- Object
- Spree::BaseMailer
- SolidusFriendlyPromotions::PromotionCodeBatchMailer
- Defined in:
- app/mailers/solidus_friendly_promotions/promotion_code_batch_mailer.rb
Instance Method Summary collapse
- #promotion_code_batch_errored(promotion_code_batch) ⇒ Object
- #promotion_code_batch_finished(promotion_code_batch) ⇒ Object
Instance Method Details
#promotion_code_batch_errored(promotion_code_batch) ⇒ Object
10 11 12 13 |
# File 'app/mailers/solidus_friendly_promotions/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 |
#promotion_code_batch_finished(promotion_code_batch) ⇒ Object
5 6 7 8 |
# File 'app/mailers/solidus_friendly_promotions/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 |