debian-mirror-gitlab/app/serializers/error_tracking/error_entity.rb
2022-08-13 15:12:31 +05:30

14 lines
352 B
Ruby

# frozen_string_literal: true
module ErrorTracking
class ErrorEntity < Grape::Entity
expose :id do |error|
error.id.to_s
end
expose :title, :type, :user_count, :count,
:first_seen, :last_seen, :message, :culprit,
:external_url, :project_id, :project_name, :project_slug,
:short_id, :status, :frequency
end
end