class Fog::Compute::Packet::Users

Projects Collection

Public Instance Methods

all(params = {}) click to toggle source
# File lib/fog/compute/packet/models/users.rb, line 10
def all(params = {})
  response = service.list_users(params)
  load(response.body["users"])
end
get(id = "") click to toggle source
# File lib/fog/compute/packet/models/users.rb, line 15
def get(id = "")
  response = service.get_user(id)
  new(response.body)
end