summaryrefslogtreecommitdiff
path: root/app/serializers/group_basic_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/group_basic_entity.rb')
-rw-r--r--app/serializers/group_basic_entity.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/serializers/group_basic_entity.rb b/app/serializers/group_basic_entity.rb
new file mode 100644
index 00000000000..24a05100d43
--- /dev/null
+++ b/app/serializers/group_basic_entity.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+class GroupBasicEntity < Grape::Entity
+ include RequestAwareEntity
+
+ expose :id
+ expose :name
+ expose :full_path
+ expose :full_name
+end