Class: Fog::Network::StormOnDemand::Zone
- Defined in:
- lib/fog/storm_on_demand/models/network/zone.rb
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Zone
constructor
A new instance of Zone.
- #set_default ⇒ Object
Methods inherited from Model
#inspect, #reload, #symbolize_keys, #to_json, #wait_for
Methods included from Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Core::DeprecatedConnectionAccessors
#connection, #connection=, #prepare_service_value
Methods included from Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #persisted?, #requires, #requires_one
Constructor Details
#initialize(attributes = {}) ⇒ Zone
Returns a new instance of Zone.
15 16 17 |
# File 'lib/fog/storm_on_demand/models/network/zone.rb', line 15 def initialize(attributes={}) super end |
Instance Method Details
#set_default ⇒ Object
19 20 21 22 |
# File 'lib/fog/storm_on_demand/models/network/zone.rb', line 19 def set_default requires :identity service.set_default_zone(:id => identity) end |