Class: RubyLLM::Monitoring::AlertMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/ruby_llm/monitoring/alert_mailer.rb

Instance Method Summary collapse

Instance Method Details

#alert_notificationObject



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