class Zype::Users
Read more at docs.zype.com/v1.0/reference#users. This class does not support the delete method.
@since 0.13.0
Public Instance Methods
remove(id:)
click to toggle source
Remove a user from a site property. This does not delete the user. Read more at docs.zype.com/v1.0/reference#removeuser
@param id [String] the ID of the user @return [Hash] the user object
# File lib/zype/models/users.rb, line 18 def remove(id:) client.execute(method: :put, path: "/#{path}/#{id}/remove") end
Private Instance Methods
path()
click to toggle source
# File lib/zype/models/users.rb, line 24 def path @path = 'site/users' end