class RecombeeApiClient::ResetDatabase

Completely erases all your data, including items, item properties, series, user database, purchases, ratings, detail views, and bookmarks. Make sure the request to be never executed in production environment! Resetting your database is irreversible.

Attributes

ensure_https[RW]
timeout[RW]

Public Class Methods

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

HTTP method

# File lib/recombee_api_client/api/reset_database.rb, line 25
def method
  :delete
end
path() click to toggle source

Relative path to the endpoint

# File lib/recombee_api_client/api/reset_database.rb, line 43
def path
  "/{databaseId}/"
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/reset_database.rb, line 37
def query_parameters
  params = {}
  params
end