Class: Zype::Users
Overview
Read more at docs.zype.com/v1.0/reference#users. This class does not support the delete method.
Constant Summary
Constants inherited from BaseModel
Instance Attribute Summary
Attributes inherited from BaseModel
Instance Method Summary collapse
-
#remove(id:) ⇒ Hash
Remove a user from a site property.
Methods inherited from BaseModel
#all, #auth=, #create, #delete, #find, #initialize, #update
Constructor Details
This class inherits a constructor from Zype::BaseModel
Instance Method Details
#remove(id:) ⇒ Hash
Remove a user from a site property. This does not delete the user. Read more at docs.zype.com/v1.0/reference#removeuser
18 19 20 |
# File 'lib/zype/models/users.rb', line 18 def remove(id:) client.execute(method: :put, path: "/#{path}/#{id}/remove") end |