class Fog::Identity::Proxmox::Permission
class Permission
Public Instance Methods
==(other)
click to toggle source
# File lib/fog/identity/proxmox/models/permission.rb, line 44 def ==(other) to_s.eql? other.to_s if other end
add()
click to toggle source
# File lib/fog/identity/proxmox/models/permission.rb, line 48 def add service.add_permission(to_request) end
remove()
click to toggle source
# File lib/fog/identity/proxmox/models/permission.rb, line 52 def remove service.remove_permission(to_request) end
to_request()
click to toggle source
# File lib/fog/identity/proxmox/models/permission.rb, line 56 def to_request request = { roles: roleid, path: path, propagate: propagate } if type == 'group' request.store(:groups, ugid) elsif type == 'user' request.store(:users, ugid) end request end
to_s()
click to toggle source
# File lib/fog/identity/proxmox/models/permission.rb, line 40 def to_s "path=#{path},roleid=#{roleid},type=#{type},ugid=#{ugid}" end