Sha256: db14734ed679f1b101b1f808b22951e627ead8ca8ff15524cf7a9bb477e44949
Contents?: true
Size: 359 Bytes
Versions: 2
Compression:
Stored size: 359 Bytes
Contents
class Sysdig::SnsNotification < Sysdig::UserNotification type :sns attribute :topics, type: :array def save notification = service.update_user_notifications(self.identity => { "enabled" => self.enabled, "topics" => self.topics, }).body.fetch("userNotification") merge_attributes(notification.fetch(self.identity)) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sysdig-0.2.3 | lib/sysdig/sns_notification.rb |
sysdig-0.2.0 | lib/sysdig/sns_notification.rb |