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