debian-mirror-gitlab/lib/api/entities/project_import_failed_relation.rb
2022-01-26 12:08:38 +05:30

16 lines
346 B
Ruby

# frozen_string_literal: true
module API
module Entities
class ProjectImportFailedRelation < Grape::Entity
expose :id, :created_at, :exception_class, :source
expose :exception_message do |_|
nil
end
expose :relation_key, as: :relation_name
expose :relation_index, as: :line_number
end
end
end