Class: Sonar::Connector::Emailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Sonar::Connector::Emailer
- Defined in:
- lib/sonar_connector/emailer.rb
Instance Method Summary collapse
Instance Method Details
#admin_message(connector, message) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/sonar_connector/emailer.rb', line 4 def (connector, ) from Sonar::Connector::CONFIG.email_settings["admin_sender"] recipients Sonar::Connector::CONFIG.email_settings["admin_recipients"] subject "Admin email from Sonar Connector" content_type "text/plain" body <<-BODY Admin email from Sonar Connector. The connector '#{connector.name}' sent the following message: #{} BODY end |