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