Class: Fog::Proxmox::Identity::Permissions
- Inherits:
-
Collection
- Object
- Collection
- Fog::Proxmox::Identity::Permissions
- Defined in:
- lib/fog/identity/proxmox/models/permissions.rb
Overview
class Permissions authentication
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
29 30 31 |
# File 'lib/fog/identity/proxmox/models/permissions.rb', line 29 def all load service. end |
#destroy(permission_hash) ⇒ Object
37 38 39 40 |
# File 'lib/fog/identity/proxmox/models/permissions.rb', line 37 def destroy() = new() .destroy end |
#get(type, path, roleid, ugid) ⇒ Object
33 34 35 |
# File 'lib/fog/identity/proxmox/models/permissions.rb', line 33 def get(type, path, roleid, ugid) all.find { || .type === type && .path === path && .roleid === roleid && .ugid === ugid } end |