class RecombeeApiClient::ListUserRatings
List all the ratings ever submitted by a given user.
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 whose ratings are to be listed.
-
# File lib/recombee_api_client/api/list_user_ratings.rb, line 20 def initialize(user_id) @user_id = user_id @timeout = 100000 @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/list_user_ratings.rb, line 32 def body_parameters p = Hash.new p end
method()
click to toggle source
HTTP method
# File lib/recombee_api_client/api/list_user_ratings.rb, line 27 def method :get end
path()
click to toggle source
Relative path to the endpoint
# File lib/recombee_api_client/api/list_user_ratings.rb, line 45 def path "/{databaseId}/users/#{@user_id}/ratings/" 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/list_user_ratings.rb, line 39 def query_parameters params = {} params end