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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/group_deploy_keys_group_entity.rb')
-rw-r--r--app/serializers/group_deploy_keys_group_entity.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/serializers/group_deploy_keys_group_entity.rb b/app/serializers/group_deploy_keys_group_entity.rb
new file mode 100644
index 00000000000..f2801dfc112
--- /dev/null
+++ b/app/serializers/group_deploy_keys_group_entity.rb
@@ -0,0 +1,6 @@
+# frozen_string_literal: true
+
+class GroupDeployKeysGroupEntity < Grape::Entity
+ expose :can_push
+ expose :group, using: GroupBasicEntity
+end