Sha256: 6cecc514ee6f58580a3d5ac0caff4d1bb8fd5d6b35ddb1b89ceea3eda5648838

Contents?: true

Size: 234 Bytes

Versions: 9

Compression:

Stored size: 234 Bytes

Contents

class AlertMailer < ActionMailer::Base
  default from: ALERTS_CONFIG['from']

  def alert_failing_email(alert)
    @alert = alert
    mail(to: @alert.email, subject: "Your Aleph alert '#{@alert.query_title}' has triggered")
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
aleph_analytics-0.2.0 app/mailers/alert_mailer.rb
aleph_analytics-0.1.0 app/mailers/alert_mailer.rb
aleph_analytics-0.0.6 app/mailers/alert_mailer.rb
aleph_analytics-0.0.5 app/mailers/alert_mailer.rb
aleph_analytics-0.0.4 app/mailers/alert_mailer.rb
aleph_analytics-0.0.3 app/mailers/alert_mailer.rb
aleph_analytics-0.0.2 app/mailers/alert_mailer.rb
aleph_analytics-0.0.1.alpha app/mailers/alert_mailer.rb
aleph_analytics-0.0.0.alpha app/mailers/alert_mailer.rb