Methods

Files

Class/Module Index [+]

Quicksearch

Fog::Compute::Ecloud::PublicIps

Public Instance Methods

all() click to toggle source

get_request :get_public_ip vcloud_type "application/vnd.tmrk.ecloud.publicIp+xml" all_request lambda { |public_ips| public_ips.connection.get_public_ips(public_ips.href) }

# File lib/fog/ecloud/models/compute/public_ips.rb, line 18
def all
  check_href!(:message => "the Public Ips href of the Vdc you want to enumerate")
  if data = connection.get_public_ips(href).body[:PublicIPAddress]
    load(data)
  end
end
get(uri) click to toggle source
# File lib/fog/ecloud/models/compute/public_ips.rb, line 25
def get(uri)
  if data = connection.get_public_ip(uri)
    new(data.body)
  end
rescue Fog::Errors::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.