class Fog::Compute::HP::Addresses
Public Instance Methods
all()
click to toggle source
# File lib/fog/hp/models/compute/addresses.rb, line 12 def all data = service.list_addresses.body['floating_ips'] load(data) end
get(address_id)
click to toggle source
# File lib/fog/hp/models/compute/addresses.rb, line 17 def get(address_id) if address = service.get_address(address_id).body['floating_ip'] new(address) end rescue Fog::Compute::HP::NotFound nil end