class Fog::Proxmox::Identity::Groups

class Groups authentication

Public Instance Methods

all() click to toggle source
# File lib/fog/proxmox/identity/models/groups.rb, line 29
def all
  load service.list_groups
end
destroy(id) click to toggle source
# File lib/fog/proxmox/identity/models/groups.rb, line 37
def destroy(id)
  group = get(id)
  group.destroy
end
get(id) click to toggle source
# File lib/fog/proxmox/identity/models/groups.rb, line 33
def get(id)
  all.find { |group| group.identity == id }
end