Class: AwsAlertMonitor::Events::Unknown

Inherits:
AwsAlertMonitor::Event show all
Defined in:
lib/aws-alert-monitor/events/unknown.rb

Instance Attribute Summary

Attributes inherited from AwsAlertMonitor::Event

#message_data, #raw_data

Instance Method Summary collapse

Methods inherited from AwsAlertMonitor::Event

#initialize

Constructor Details

This class inherits a constructor from AwsAlertMonitor::Event

Instance Method Details

#bodyObject



6
7
8
# File 'lib/aws-alert-monitor/events/unknown.rb', line 6

def body
  "received an alert: \n\n #{raw_data.to_s}"
end

#subjectObject



10
11
12
# File 'lib/aws-alert-monitor/events/unknown.rb', line 10

def subject
  "Alert: unknown type"
end

#typeObject



14
15
16
# File 'lib/aws-alert-monitor/events/unknown.rb', line 14

def type
  'unknown'
end