debian-mirror-gitlab/lib/api/entities/project_import_failed_relation.rb

17 lines
346 B
Ruby
Raw Normal View History

2020-04-22 19:07:51 +05:30
# frozen_string_literal: true
module API
module Entities
class ProjectImportFailedRelation < Grape::Entity
2021-04-29 21:17:54 +05:30
expose :id, :created_at, :exception_class, :source
expose :exception_message do |_|
nil
end
2020-04-22 19:07:51 +05:30
expose :relation_key, as: :relation_name
2022-01-26 12:08:38 +05:30
expose :relation_index, as: :line_number
2020-04-22 19:07:51 +05:30
end
end
end