Class: Gitlab::ErrorTracking::Error

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model, GlobalID::Identification
Defined in:
lib/gitlab/error_tracking/error.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#countObject

Returns the value of attribute count


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def count
  @count
end

#culpritObject

Returns the value of attribute culprit


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def culprit
  @culprit
end

#external_urlObject

Returns the value of attribute external_url


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def external_url
  @external_url
end

#first_seenObject

Returns the value of attribute first_seen


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def first_seen
  @first_seen
end

#frequencyObject

Returns the value of attribute frequency


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def frequency
  @frequency
end

#idObject

Returns the value of attribute id


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def id
  @id
end

#last_seenObject

Returns the value of attribute last_seen


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def last_seen
  @last_seen
end

#messageObject

Returns the value of attribute message


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def message
  @message
end

#project_idObject

Returns the value of attribute project_id


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def project_id
  @project_id
end

#project_nameObject

Returns the value of attribute project_name


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def project_name
  @project_name
end

#project_slugObject

Returns the value of attribute project_slug


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def project_slug
  @project_slug
end

#short_idObject

Returns the value of attribute short_id


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def short_id
  @short_id
end

#statusObject

Returns the value of attribute status


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def status
  @status
end

#titleObject

Returns the value of attribute title


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def title
  @title
end

#typeObject

Returns the value of attribute type


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def type
  @type
end

#user_countObject

Returns the value of attribute user_count


9
10
11
# File 'lib/gitlab/error_tracking/error.rb', line 9

def user_count
  @user_count
end

Class Method Details

.declarative_policy_classObject


14
15
16
# File 'lib/gitlab/error_tracking/error.rb', line 14

def self.declarative_policy_class
  'ErrorTracking::BasePolicy'
end