class Fog::Rackspace::Monitoring::Notifications
Public Instance Methods
all(options={})
click to toggle source
# File lib/fog/rackspace/models/monitoring/notifications.rb, line 12 def all(options={}) data = service.list_notifications(options).body marker = data['metadata']['next_marker'] load(data['values']) end
get(notification_id)
click to toggle source
# File lib/fog/rackspace/models/monitoring/notifications.rb, line 19 def get(notification_id) data = service.get_notification(notification_id).body new(data) rescue Fog::Rackspace::Monitoring::NotFound nil end