Module: Emails::AutoDevops

Included in:
Notify
Defined in:
app/mailers/emails/auto_devops.rb

Instance Method Summary collapse

Instance Method Details

#autodevops_disabled_email(pipeline, recipient) ⇒ Object



5
6
7
8
9
10
11
12
13
14
# File 'app/mailers/emails/auto_devops.rb', line 5

def autodevops_disabled_email(pipeline, recipient)
  @pipeline = pipeline
  @project = pipeline.project

  add_project_headers

  email_with_layout(
    to: recipient,
    subject: auto_devops_disabled_subject(@project.name))
end