Class: Fog::Network::StormOnDemand::Zones
- Inherits:
-
Collection
- Object
- Collection
- Fog::Network::StormOnDemand::Zones
- Defined in:
- lib/fog/network/storm_on_demand/models/zones.rb
Instance Method Summary collapse
Instance Method Details
#all(options = {}) ⇒ Object
12 13 14 15 |
# File 'lib/fog/network/storm_on_demand/models/zones.rb', line 12 def all( = {}) data = service.list_zones().body load(data) end |
#get(zone_id) ⇒ Object
7 8 9 10 |
# File 'lib/fog/network/storm_on_demand/models/zones.rb', line 7 def get(zone_id) z = service.get_zone(:id => zone_id).body new(z) end |