Method: Fog::Compute::Ninefold::Address#save

Defined in:
lib/fog/ninefold/models/compute/address.rb

#saveObject



70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/fog/ninefold/models/compute/address.rb', line 70

def save
  raise "Operation not supported" if self.identity
  requires :zoneid

  options = {
    :zoneid => zoneid,
    :networkid => networkid,
    :account => ,
    :domainid => domainid
  }.delete_if {|k,v| v.nil? || v == "" }
  data = connection.associate_ip_address(options)
  merge_attributes(data)
  true
end