Sha256: c7ff5495f8eef81f5a6ea17e3e0b10c1c273423930431927878b523a462acc5f

Contents?: true

Size: 342 Bytes

Versions: 19

Compression:

Stored size: 342 Bytes

Contents

java_import "org.apache.commons.validator.EmailValidator"

module Rearview
  class AlertMailer < ActionMailer::Base
    default from: Rearview.config.default_from
    def alert_email(recipient, job, result)
      @job    = job
      @result = result
      mail(:to => recipient, :subject => "[Rearview ALERT] #{job.name}")
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rearview-1.1.2-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.1.1-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.1.0-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.3.rc.4-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.3.rc.3-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.3.rc.2-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.3.rc.1-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.2-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.2.rc.4-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.2.rc.3-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.2.rc.2-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.2.rc.1-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.1-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.0-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.0.rc5-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.0.rc4-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.0.rc3-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.0.rc2-jruby app/mailers/rearview/alert_mailer.rb
rearview-1.0.0.rc1-jruby app/mailers/rearview/alert_mailer.rb