debian-mirror-gitlab/lib/api/entities/project_import_failed_relation.rb
2021-04-29 21:17:54 +05:30

15 lines
299 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
end
end
end