class RecombeeApiClient::DeleteUser
Deletes a user of the given userId from the database.
If there are any purchases, ratings, bookmarks, cart additions or detail views made by the user present in the database, they will be deleted in cascade as well.
Attributes
ensure_https[RW]
timeout[RW]
user_id[R]
Public Class Methods
new(user_id)
click to toggle source
-
*Required arguments*
-
user_id
-> ID of the user to be deleted.
-
# File lib/recombee_api_client/api/delete_user.rb, line 23 def initialize(user_id) @user_id = user_id @timeout = 1000 @ensure_https = false end
Public Instance Methods
body_parameters()
click to toggle source
Values of body parameters as a Hash
# File lib/recombee_api_client/api/delete_user.rb, line 35 def body_parameters p = Hash.new p end
method()
click to toggle source
HTTP method
# File lib/recombee_api_client/api/delete_user.rb, line 30 def method :delete end
path()
click to toggle source
Relative path to the endpoint
# File lib/recombee_api_client/api/delete_user.rb, line 48 def path "/{databaseId}/users/#{@user_id}" end
query_parameters()
click to toggle source
Values of query parameters as a Hash. name of parameter => value of the parameter
# File lib/recombee_api_client/api/delete_user.rb, line 42 def query_parameters params = {} params end