Class: RubyLLM::Monitoring::AlertMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- RubyLLM::Monitoring::AlertMailer
- Defined in:
- app/mailers/ruby_llm/monitoring/alert_mailer.rb
Instance Method Summary collapse
Instance Method Details
#alert_notification ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'app/mailers/ruby_llm/monitoring/alert_mailer.rb', line 3 def alert_notification @body = params[:body] mail( to: params[:to], from: params[:from] || default_params[:from], subject: params[:subject] ) end |