class Fog::Proxmox::Identity::Users
class Users
model collection
Public Instance Methods
all(filters = {})
click to toggle source
# File lib/fog/proxmox/identity/models/users.rb, line 29 def all(filters = {}) load service.list_users(filters) end
destroy(id)
click to toggle source
# File lib/fog/proxmox/identity/models/users.rb, line 37 def destroy(id) user = get(id) user.destroy end
get(id)
click to toggle source
# File lib/fog/proxmox/identity/models/users.rb, line 33 def get(id) all.find { |user| user.identity == id } end