Class: Travis::Mailer::Build

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
lib/travis/mailer/build.rb

Instance Method Summary collapse

Instance Method Details

#finished_email(build, recipients) ⇒ Object



12
13
14
15
16
# File 'lib/travis/mailer/build.rb', line 12

def finished_email(build, recipients)
  @build  = build
  @commit = build.commit
  mail(:to => recipients, :subject => subject, :template_path => 'build')
end