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/import/bulk_import_entity.rb')
-rw-r--r--app/serializers/import/bulk_import_entity.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/serializers/import/bulk_import_entity.rb b/app/serializers/import/bulk_import_entity.rb
new file mode 100644
index 00000000000..8f0a9dd4428
--- /dev/null
+++ b/app/serializers/import/bulk_import_entity.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+class Import::BulkImportEntity < Grape::Entity
+ expose :id do |entity|
+ entity['id']
+ end
+
+ expose :full_name do |entity|
+ entity['full_name']
+ end
+
+ expose :full_path do |entity|
+ entity['full_path']
+ end
+end