class RecombeeApiClient::GetSegmentation
Get existing Segmentation.
Attributes
ensure_https[RW]
segmentation_id[R]
timeout[RW]
Public Class Methods
new(segmentation_id)
click to toggle source
-
*Required arguments*
-
segmentation_id
-> ID of the Segmentation that should be returned
-
# File lib/recombee_api_client/api/get_segmentation.rb, line 21 def initialize(segmentation_id) @segmentation_id = segmentation_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/get_segmentation.rb, line 33 def body_parameters p = Hash.new p end
method()
click to toggle source
HTTP method
# File lib/recombee_api_client/api/get_segmentation.rb, line 28 def method :get end
path()
click to toggle source
Relative path to the endpoint
# File lib/recombee_api_client/api/get_segmentation.rb, line 46 def path "/{databaseId}/segmentations/list/#{@segmentation_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/get_segmentation.rb, line 40 def query_parameters params = {} params end