Fog::Collection
# File lib/fog/terremark/models/shared/addresses.rb, line 21 def all load(service.get_public_ips(vdc_id).body['PublicIpAddresses']) end
# File lib/fog/terremark/models/shared/addresses.rb, line 25 def get(ip_id) if ip_id && ip = service.get_public_ip(ip_id).body new(ip) elsif !ip_id nil end rescue Excon::Errors::Forbidden nil end
# File lib/fog/terremark/models/shared/addresses.rb, line 35 def vdc_id @vdc_id ||= service.default_vdc_id end
[Validate]
Generated with the Darkfish Rdoc Generator 2.