class RecombeeApiClient::ListItemViewPortions

List all the view portions of an item ever submitted by different users.

Attributes

ensure_https[RW]
item_id[R]
timeout[RW]

Public Class Methods

new(item_id) click to toggle source
  • *Required arguments*

    • item_id -> ID of the item of which the view portions are to be listed.

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

HTTP method

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

Relative path to the endpoint

# File lib/recombee_api_client/api/list_item_view_portions.rb, line 47
def path
  "/{databaseId}/items/#{@item_id}/viewportions/"
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_item_view_portions.rb, line 41
def query_parameters
  params = {}
  params
end