Class: Fog::Vcloud::Compute::Ip

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/vcloud/models/compute/ip.rb

Instance Method Summary collapse

Instance Method Details

#reloadObject


21
22
23
24
25
# File 'lib/fog/vcloud/models/compute/ip.rb', line 21

def reload
  super
  @changed = false
  self
end

#saveObject


14
15
16
17
18
19
# File 'lib/fog/vcloud/models/compute/ip.rb', line 14

def save
  if @changed
    service.configure_network_ip( href, _compose_network_ip_data )
  end
  true
end