Welcome to mirror list, hosted at ThFree Co, Russian Federation.

remote_mirrors.rb « emails « mailers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2018eb7260bca48b2589ecb00aaf31bb4169612f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Emails
  module RemoteMirrors
    def remote_mirror_update_failed_email(remote_mirror_id, recipient_id)
      @remote_mirror = RemoteMirrorFinder.new(id: remote_mirror_id).execute
      @project = @remote_mirror.project

      mail(to: recipient(recipient_id), subject: subject('Remote mirror update failed'))
    end
  end
end