Class: BcmsNotifications
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- BcmsNotifications
- Defined in:
- app/models/bcms_notifications.rb
Instance Method Summary collapse
Instance Method Details
#message_notification(question, to, from_email = "[email protected]", subject = "New message") ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'app/models/bcms_notifications.rb', line 4 def (question, to, from_email="[email protected]", subject="New message") recipients to from from_email subject subject sent_on Time.now body :question => question end |