# File lib/fog/hp/models/compute/addresses.rb, line 10 def all data = service.list_addresses.body['floating_ips'] load(data) end
# File lib/fog/hp/models/compute/addresses.rb, line 15 def get(address_id) if address = service.get_address(address_id).body['floating_ip'] new(address) end rescue Fog::Compute::HP::NotFound nil end