debian-mirror-gitlab/app/serializers/import/bulk_import_entity.rb

20 lines
315 B
Ruby
Raw Normal View History

2021-01-03 14:25:43 +05:30
# 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
2021-02-22 17:27:13 +05:30
expose :web_url do |entity|
entity['web_url']
end
2021-01-03 14:25:43 +05:30
end