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