class RecombeeApiClient::AddSeries

Creates new series in the database.

Attributes

ensure_https[RW]
series_id[R]
timeout[RW]

Public Class Methods

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

    • series_id -> ID of the series to be created.

# File lib/recombee_api_client/api/add_series.rb, line 20
def initialize(series_id)
  @series_id = series_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/add_series.rb, line 32
def body_parameters
  p = Hash.new
  p
end
method() click to toggle source

HTTP method

# File lib/recombee_api_client/api/add_series.rb, line 27
def method
  :put
end
path() click to toggle source

Relative path to the endpoint

# File lib/recombee_api_client/api/add_series.rb, line 45
def path
  "/{databaseId}/series/#{@series_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/add_series.rb, line 39
def query_parameters
  params = {}
  params
end