Class: Fog::Vcloud::Compute::Ip
- Defined in:
- lib/rackspace-fog/vcloud/models/compute/ip.rb
Instance Attribute Summary
Attributes inherited from Model
Attributes inherited from Model
Instance Method Summary collapse
Methods inherited from Model
has_up, #link_up, #load_unless_loaded!
Methods inherited from Model
#initialize, #inspect, #symbolize_keys, #to_json, #wait_for
Methods included from Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #requires, #requires_one
Constructor Details
This class inherits a constructor from Fog::Model
Instance Method Details
#reload ⇒ Object
22 23 24 25 26 |
# File 'lib/rackspace-fog/vcloud/models/compute/ip.rb', line 22 def reload super @changed = false self end |
#save ⇒ Object
15 16 17 18 19 20 |
# File 'lib/rackspace-fog/vcloud/models/compute/ip.rb', line 15 def save if @changed connection.configure_network_ip( href, _compose_network_ip_data ) end true end |