Module: Emails::Pipelines

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

Instance Method Summary collapse

Instance Method Details

#pipeline_failed_email(pipeline, recipients) ⇒ Object


9
10
11
# File 'app/mailers/emails/pipelines.rb', line 9

def pipeline_failed_email(pipeline, recipients)
  pipeline_mail(pipeline, recipients, 'failed')
end

#pipeline_fixed_email(pipeline, recipients) ⇒ Object


13
14
15
# File 'app/mailers/emails/pipelines.rb', line 13

def pipeline_fixed_email(pipeline, recipients)
  pipeline_mail(pipeline, recipients, 'been fixed')
end

#pipeline_success_email(pipeline, recipients) ⇒ Object


5
6
7
# File 'app/mailers/emails/pipelines.rb', line 5

def pipeline_success_email(pipeline, recipients)
  pipeline_mail(pipeline, recipients, 'succeeded')
end