class RecombeeApiClient::DeleteGroup

Deletes the group of given `groupId` from the database.

Deleting a group will only delete assignment of items to it, not the items themselves!

Attributes

ensure_https[RW]
group_id[R]
timeout[RW]

Public Class Methods

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

    • group_id -> ID of the group to be deleted.

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

HTTP method

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

Relative path to the endpoint

# File lib/recombee_api_client/api/delete_group.rb, line 48
def path
  "/{databaseId}/groups/#{@group_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/delete_group.rb, line 42
def query_parameters
  params = {}
  params
end