Class: Fog::Vcloud::Compute::Ip
- Inherits:
-
Model
- Object
- Model
- Model
- Fog::Vcloud::Compute::Ip
show all
- Defined in:
- lib/fog/vcloud/models/compute/ip.rb
Instance Attribute Summary
Attributes inherited from Model
#loaded
Instance Method Summary
collapse
Methods inherited from Model
has_up, #link_up, #load_unless_loaded!
Instance Method Details
#reload ⇒ Object
22
23
24
25
26
|
# File 'lib/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/fog/vcloud/models/compute/ip.rb', line 15
def save
if @changed
service.configure_network_ip( href, _compose_network_ip_data )
end
true
end
|