Sha256: 9d15067ddc3e536ec4765975142d933e12965bd936608c5b80edd1a9e10cbd6f
Contents?: true
Size: 410 Bytes
Versions: 2
Compression:
Stored size: 410 Bytes
Contents
module AwsAlertMonitor module Events class AutoScalingNotification < Event def body cause = message_data['Cause'] description = message_data['Description'] "received an alert: \n\n #{description} \n\n #{cause}" end def subject "Alert: #{raw_data['Subject']}" end def type message_data['Event'] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aws-alert-monitor-0.1.0 | lib/aws-alert-monitor/events/auto_scaling_notification.rb |
aws-alert-monitor-0.0.5 | lib/aws-alert-monitor/events/auto_scaling_notification.rb |