lib/elasticsearch/xpack/api/actions/machine_learning/post_data.rb in elasticsearch-xpack-7.7.0.pre vs lib/elasticsearch/xpack/api/actions/machine_learning/post_data.rb in elasticsearch-xpack-7.7.0
- old
+ new
@@ -13,10 +13,10 @@
# @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/current/ml-post-data.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/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]