gitlab-org--gitlab-foss/lib/api/entities/deploy_key.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
307 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module API
module Entities
class DeployKey < Entities::SSHKey
expose :key
expose :fingerprint
expose :projects_with_write_access, using: Entities::ProjectIdentity, if: -> (_, options) { options[:include_projects_with_write_access] }
end
end
end