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

deploy_key.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e8537c4c677e00f915fd1b24e803bd05ec638666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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