Class: StatusCat::StatusMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/mailers/status_cat/status_mailer.rb

Instance Method Summary collapse

Instance Method Details

#failure(checkers) ⇒ Object



6
7
8
9
10
11
# File 'app/mailers/status_cat/status_mailer.rb', line 6

def failure(checkers)
  @checkers = checkers

  config = StatusCat.config
  mail(to: config.to, from: config.from, subject: config.subject)
end