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