Class: Iro::AlertMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Iro::AlertMailer
- Defined in:
- app/mailers/iro/alert_mailer.rb
Instance Method Summary collapse
Instance Method Details
#stock_alert(id) ⇒ Object
6 7 8 9 10 |
# File 'app/mailers/iro/alert_mailer.rb', line 6 def stock_alert id @alert = Iro::Alert.find id mail( to: '[email protected]', subject: "#{Time.now.to_date} Iro::AlertMailer#stock_alert" ) end |