class RecombeeApiClient::DeleteManualReqlSegment

Delete a Segment from a Manual ReQL Segmentation.

Attributes

ensure_https[RW]
segment_id[R]
segmentation_id[R]
timeout[RW]

Public Class Methods

new(segmentation_id, segment_id) click to toggle source
  • *Required arguments*

    • segmentation_id -> ID of the Segmentation from which the Segment should be deleted

    • segment_id -> ID of the Segment that should be deleted

# File lib/recombee_api_client/api/delete_manual_reql_segment.rb, line 22
def initialize(segmentation_id, segment_id)
  @segmentation_id = segmentation_id
  @segment_id = segment_id
  @timeout = 10000
  @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_manual_reql_segment.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_manual_reql_segment.rb, line 30
def method
  :delete
end
path() click to toggle source

Relative path to the endpoint

# File lib/recombee_api_client/api/delete_manual_reql_segment.rb, line 48
def path
  "/{databaseId}/segmentations/manual-reql/#{@segmentation_id}/segments/#{@segment_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_manual_reql_segment.rb, line 42
def query_parameters
  params = {}
  params
end