app/mailers/report_mailer.rb
# Report to Linux Foundation that a project's status has changed.
Report to Linux Foundation that a project's status has changed.
Report to Linux Foundation that a project ' s status has changed .
def project_status_change(project, old_badge_status, new_badge_status)
    @project = project
    @old_badge_status = old_badge_status
    @new_badge_status = new_badge_status
    @project_info_url = project_url(@project, locale: nil)
    @report_destination = REPORT_EMAIL_DESTINATION
    set_standard_headers
    I18n.with_locale(I18n.default_locale) do
      mail(
        to: @report_destination,
        subject: "Project #{project.id} status change to #{new_badge_status}"
      )
    end
  end
def project_status_change ( project , old_badge_status , new_badge_status ) @project = project @old_badge_status = old_badge_status @new_badge_status = new_badge_status @project_info_url = project_url ( @project , locale : nil ) @report_destination = REPORT_EMAIL_DESTINATION set_standard_headers I18n . with_locale ( I18n . default_locale ) do mail ( to : @report_destination , subject : "Project #{project.id} status change to #{new_badge_status}" ) end end
Report to Linux Foundation that a project's status has changed.
Report to Linux Foundation that a project ' s status has changed .
project
<not_specific>
old_badge_status
<not_specific>
new_badge_status
<not_specific>