mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-23 00:47:51 +00:00
16 lines
267 B
Ruby
16 lines
267 B
Ruby
# 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
|