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