debian-mirror-gitlab/app/serializers/import/bulk_import_entity.rb
2021-01-30 21:13:32 +05:30

15 lines
256 B
Ruby

# 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