Class: Fog::Compute::StormOnDemand::Notifications
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::StormOnDemand::Notifications
- Defined in:
- lib/fog/storm_on_demand/models/compute/notifications.rb
Instance Method Summary collapse
Instance Method Details
#all(options = {}) ⇒ Object
10 11 12 13 |
# File 'lib/fog/storm_on_demand/models/compute/notifications.rb', line 10 def all(={}) data = service.list_notifications().body['items'] load(data) end |
#current(options = {}) ⇒ Object
15 16 17 18 |
# File 'lib/fog/storm_on_demand/models/compute/notifications.rb', line 15 def current(={}) data = service.current_notifications().body['items'] load(data) end |
#get(options) ⇒ Object
20 21 22 23 |
# File 'lib/fog/storm_on_demand/models/compute/notifications.rb', line 20 def get() data = service.get_notification().body new(data) end |