lib/fog/proxmox/identity/models/role.rb in fog-proxmox-0.14.0 vs lib/fog/proxmox/identity/models/role.rb in fog-proxmox-0.15.0
- old
+ new
@@ -37,10 +37,10 @@
true
end
def update
requires :roleid
- service.update_role(roleid, attributes.reject { |attribute| [:roleid, :special].include? attribute })
+ service.update_role(roleid, attributes.reject { |attribute| %i[roleid special].include? attribute })
reload
end
end
end
end