# File lib/fog/ecloud/models/compute/ip_addresses.rb, line 12 def all data = connection.get_ip_addresses(href).body[:IpAddresses][:IpAddress] data = data.nil? ? [] : data load(data) end
# File lib/fog/ecloud/models/compute/ip_addresses.rb, line 18 def get(uri) if data = connection.get_ip_address(uri) new(data.body) end rescue Fog::Errors::NotFound nil end