Class: Codeclimate::Collectors::Messages::Incident

Inherits:
Message
  • Object
show all
Defined in:
lib/codeclimate/collectors/messages/incident.rb

Overview

Represents an incident from an Incident Response Platform, such as PagerDuty.

Constant Summary collapse

STATUSES =
[
  TRIGGERED = "triggered".freeze,
  ACKNOWLEDGED = "acknowledged".freeze,
  RESOLVED = "resolved".freeze,
].freeze

Class Method Summary collapse

Methods inherited from Message

#==, #as_json, attribute, attribute_metadata, #attributes, json_type

Class Method Details

.ordering_keysObject



35
36
37
# File 'lib/codeclimate/collectors/messages/incident.rb', line 35

def self.ordering_keys
  [:external_id]
end