debian-mirror-gitlab/lib/gitlab/error_tracking/detailed_error.rb

39 lines
1.1 KiB
Ruby
Raw Normal View History

2019-12-26 22:10:19 +05:30
# frozen_string_literal: true
module Gitlab
module ErrorTracking
class DetailedError
include ActiveModel::Model
2020-01-01 13:55:28 +05:30
include GlobalID::Identification
2019-12-26 22:10:19 +05:30
attr_accessor :count,
:culprit,
:external_base_url,
:external_url,
:first_release_last_commit,
:first_release_short_version,
:first_seen,
:frequency,
2020-01-01 13:55:28 +05:30
:gitlab_project,
:gitlab_issue,
2019-12-26 22:10:19 +05:30
:id,
:last_release_last_commit,
:last_release_short_version,
:last_seen,
:message,
:project_id,
:project_name,
:project_slug,
:short_id,
:status,
:title,
:type,
:user_count
2020-01-01 13:55:28 +05:30
def self.declarative_policy_class
'ErrorTracking::DetailedErrorPolicy'
end
2019-12-26 22:10:19 +05:30
end
end
end