class RecombeeApiClient::GetUserValues

Get all the current property values of 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 properties of which are to be obtained.

# File lib/recombee_api_client/api/get_user_values.rb, line 22
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/get_user_values.rb, line 34
def body_parameters
  p = Hash.new
  p
end
method() click to toggle source

HTTP method

# File lib/recombee_api_client/api/get_user_values.rb, line 29
def method
  :get
end
path() click to toggle source

Relative path to the endpoint

# File lib/recombee_api_client/api/get_user_values.rb, line 47
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/get_user_values.rb, line 41
def query_parameters
  params = {}
  params
end