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

44 lines
1.2 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,
2020-03-09 13:42:32 +05:30
:first_release_version,
2019-12-26 22:10:19 +05:30
:first_seen,
:frequency,
2020-03-09 13:42:32 +05:30
:gitlab_commit,
:gitlab_commit_path,
2020-01-01 13:55:28 +05:30
:gitlab_issue,
2020-03-09 13:42:32 +05:30
:gitlab_project,
2019-12-26 22:10:19 +05:30
:id,
:last_release_last_commit,
:last_release_short_version,
2020-07-28 23:09:34 +05:30
:last_release_version,
2019-12-26 22:10:19 +05:30
:last_seen,
:message,
:project_id,
:project_name,
:project_slug,
:short_id,
:status,
2020-03-09 13:42:32 +05:30
:tags,
2019-12-26 22:10:19 +05:30
:title,
:type,
:user_count
2020-01-01 13:55:28 +05:30
def self.declarative_policy_class
2020-03-09 13:42:32 +05:30
'ErrorTracking::BasePolicy'
2020-01-01 13:55:28 +05:30
end
2019-12-26 22:10:19 +05:30
end
end
end