class Fog::Compute::Packet::Ips

Ips Collection

Public Instance Methods

all(project_id) click to toggle source
# File lib/fog/compute/packet/models/ips.rb, line 10
def all(project_id)
  response = service.list_ips(project_id)
  load(response.body["ip_addresses"])
end
get(id) click to toggle source
# File lib/fog/compute/packet/models/ips.rb, line 15
def get(id)
  response = service.get_ip(id)
  new(response.body)
end