gitlab-org--gitlab-foss/lib/gitlab/error_tracking/detailed_error.rb

43 lines
1.2 KiB
Ruby

# frozen_string_literal: true
module Gitlab
module ErrorTracking
class DetailedError
include ActiveModel::Model
include GlobalID::Identification
attr_accessor :count,
:culprit,
:external_base_url,
:external_url,
:first_release_last_commit,
:first_release_short_version,
:first_release_version,
:first_seen,
:frequency,
:gitlab_commit,
:gitlab_commit_path,
:gitlab_issue,
:gitlab_project,
:id,
:last_release_last_commit,
:last_release_short_version,
:last_release_version,
:last_seen,
:message,
:project_id,
:project_name,
:project_slug,
:short_id,
:status,
:tags,
:title,
:type,
:user_count
def self.declarative_policy_class
'ErrorTracking::BasePolicy'
end
end
end
end