Class: RecombeeApiClient::ListSeries
- Inherits:
-
ApiRequest
- Object
- ApiRequest
- RecombeeApiClient::ListSeries
- Defined in:
- lib/recombee_api_client/api/list_series.rb
Overview
Gets the list of all the series currently present in the database.
Instance Attribute Summary collapse
-
#ensure_https ⇒ Object
Returns the value of attribute ensure_https.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#body_parameters ⇒ Object
Values of body parameters as a Hash.
-
#initialize ⇒ ListSeries
constructor
A new instance of ListSeries.
-
#method ⇒ Object
HTTP method.
-
#path ⇒ Object
Relative path to the endpoint.
-
#query_parameters ⇒ Object
Values of query parameters as a Hash.
Methods included from HashNormalizer
#camelize, #normalize_optional
Constructor Details
#initialize ⇒ ListSeries
Returns a new instance of ListSeries.
18 19 20 21 |
# File 'lib/recombee_api_client/api/list_series.rb', line 18 def initialize() @timeout = 100000 @ensure_https = false end |
Instance Attribute Details
#ensure_https ⇒ Object
Returns the value of attribute ensure_https.
14 15 16 |
# File 'lib/recombee_api_client/api/list_series.rb', line 14 def ensure_https @ensure_https end |
#timeout ⇒ Object
Returns the value of attribute timeout.
13 14 15 |
# File 'lib/recombee_api_client/api/list_series.rb', line 13 def timeout @timeout end |
Instance Method Details
#body_parameters ⇒ Object
Values of body parameters as a Hash
29 30 31 32 |
# File 'lib/recombee_api_client/api/list_series.rb', line 29 def body_parameters p = Hash.new p end |
#method ⇒ Object
HTTP method
24 25 26 |
# File 'lib/recombee_api_client/api/list_series.rb', line 24 def method :get end |
#path ⇒ Object
Relative path to the endpoint
42 43 44 |
# File 'lib/recombee_api_client/api/list_series.rb', line 42 def path "/{databaseId}/series/list/" end |
#query_parameters ⇒ Object
Values of query parameters as a Hash. name of parameter => value of the parameter
36 37 38 39 |
# File 'lib/recombee_api_client/api/list_series.rb', line 36 def query_parameters params = {} params end |