class Fog::Compute::Packet::Notifications
Notifications
Collection
Public Instance Methods
all(params = {})
click to toggle source
# File lib/fog/compute/packet/models/notifications.rb, line 10 def all(params = {}) response = service.list_notifications(params) load(response.body["notifications"]) end
get(id)
click to toggle source
# File lib/fog/compute/packet/models/notifications.rb, line 15 def get(id) response = service.get_notification(id) new(response.body) end