class RecombeeApiClient::ListSegmentations
Return all existing items Segmentations.
Attributes
ensure_https[RW]
source_type[R]
timeout[RW]
Public Class Methods
new(source_type)
click to toggle source
-
*Required arguments*
-
source_type
-> List Segmentations based on a particular type of data. Currently only ‘items` are supported.
-
# File lib/recombee_api_client/api/list_segmentations.rb, line 21 def initialize(source_type) @source_type = source_type @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/list_segmentations.rb, line 33 def body_parameters p = Hash.new p end
method()
click to toggle source
HTTP method
# File lib/recombee_api_client/api/list_segmentations.rb, line 28 def method :get end
path()
click to toggle source
Relative path to the endpoint
# File lib/recombee_api_client/api/list_segmentations.rb, line 47 def path "/{databaseId}/segmentations/list/" 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/list_segmentations.rb, line 40 def query_parameters params = {} params['sourceType'] = @source_type params end