Class: Fog::Network::StormOnDemand::Zone

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/storm_on_demand/models/network/zone.rb

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Zone

Returns a new instance of Zone.



14
15
16
# File 'lib/fog/storm_on_demand/models/network/zone.rb', line 14

def initialize(attributes={})
  super
end

Instance Method Details

#set_defaultObject



18
19
20
21
# File 'lib/fog/storm_on_demand/models/network/zone.rb', line 18

def set_default
  requires :identity
  service.set_default_zone(:id => identity)
end