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