Method: Fog::Compute::Ecloud::PublicIps#all

Defined in:
lib/fog/ecloud/models/compute/public_ips.rb

#allObject

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) }



18
19
20
21
22
23
# 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