2020-03-13 15:44:24 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
class DeployKeysProject < Grape::Entity
|
2020-07-01 16:08:20 +05:30
|
|
|
expose :deploy_key, merge: true, using: Entities::DeployKey
|
2023-01-13 00:05:48 +05:30
|
|
|
expose :can_push, documentation: { type: 'boolean' }
|
2020-03-13 15:44:24 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|