Class: Fog::Proxmox::Identity::Permission

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/proxmox/identity/models/permission.rb

Overview

class Permission

Instance Method Summary collapse

Instance Method Details

#destroyObject



35
36
37
# File 'lib/fog/proxmox/identity/models/permission.rb', line 35

def destroy
  service.update_permissions(to_update.merge(delete: 1))
end

#saveObject



31
32
33
# File 'lib/fog/proxmox/identity/models/permission.rb', line 31

def save
  service.update_permissions(to_update)
end