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

deploy_key_author.rb « audit « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 53029e9cc1cf8b475b3c86bda9e7d34bb4744663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Gitlab
  module Audit
    class DeployKeyAuthor < Gitlab::Audit::NullAuthor
      def initialize(name: nil)
        super(id: -3, name: name)
      end

      def name
        @name || _('Deploy Key')
      end
    end
  end
end