lib/elasticsearch/api/actions/license/post_start_trial.rb in elasticsearch-api-8.12.2 vs lib/elasticsearch/api/actions/license/post_start_trial.rb in elasticsearch-api-8.13.0

- old
+ new

@@ -26,21 +26,21 @@ # # @option arguments [String] :type The type of trial license to generate (default: "trial") # @option arguments [Boolean] :acknowledge whether the user has acknowledged acknowledge messages (default: false) # @option arguments [Hash] :headers Custom HTTP headers # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/start-trial.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.13/start-trial.html # def post_start_trial(arguments = {}) - request_opts = { endpoint: arguments[:endpoint] || "license.post_start_trial" } + request_opts = { endpoint: arguments[:endpoint] || 'license.post_start_trial' } arguments = arguments.clone headers = arguments.delete(:headers) || {} body = nil method = Elasticsearch::API::HTTP_POST - path = "_license/start_trial" + path = '_license/start_trial' params = Utils.process_params(arguments) Elasticsearch::API::Response.new( perform_request(method, path, params, body, headers, request_opts) )