lib/elasticsearch/xpack/api/actions/machine_learning/post_data.rb in elasticsearch-xpack-7.8.1 vs lib/elasticsearch/xpack/api/actions/machine_learning/post_data.rb in elasticsearch-xpack-7.9.0.pre

- old
+ new

@@ -26,11 +26,11 @@ # @option arguments [String] :reset_start Optional parameter to specify the start of the bucket resetting range # @option arguments [String] :reset_end Optional parameter to specify the end of the bucket resetting range # @option arguments [Hash] :headers Custom HTTP headers # @option arguments [Hash] :body The data to process (*Required*) # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/ml-post-data.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/ml-post-data.html # def post_data(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] raise ArgumentError, "Required argument 'job_id' missing" unless arguments[:job_id] @@ -53,10 +53,10 @@ # @since 6.2.0 ParamsRegistry.register(:post_data, [ :reset_start, :reset_end ].freeze) + end end - end end end end