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

20 lines
481 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
# frozen_string_literal: true
module Gitlab
module ErrorTracking
class Error
include ActiveModel::Model
2020-03-09 13:42:32 +05:30
include GlobalID::Identification
2019-02-15 15:39:39 +05:30
attr_accessor :id, :title, :type, :user_count, :count,
:first_seen, :last_seen, :message, :culprit,
:external_url, :project_id, :project_name, :project_slug,
:short_id, :status, :frequency
2020-03-09 13:42:32 +05:30
def self.declarative_policy_class
'ErrorTracking::BasePolicy'
end
2019-02-15 15:39:39 +05:30
end
end
end