2020-06-22 14:08:47 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
class DeployKey < Entities::SSHKey
|
|
|
|
expose :key
|
2021-11-02 02:10:00 -04:00
|
|
|
expose :fingerprint
|
|
|
|
|
|
|
|
expose :projects_with_write_access, using: Entities::ProjectIdentity, if: -> (_, options) { options[:include_projects_with_write_access] }
|
2020-06-22 14:08:47 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|