class RecombeeApiClient::DeleteItemProperty

Deleting an item property is roughly equivalent to removing a column from the table of items.

Attributes

ensure_https[RW]
property_name[R]
timeout[RW]

Public Class Methods

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

    • property_name -> Name of the property to be deleted.

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

HTTP method

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

Relative path to the endpoint

# File lib/recombee_api_client/api/delete_item_property.rb, line 46
def path
  "/{databaseId}/items/properties/#{@property_name}"
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/delete_item_property.rb, line 40
def query_parameters
  params = {}
  params
end