lib/elasticsearch/xpack/api/actions/transform/preview_transform.rb in elasticsearch-xpack-7.9.0.pre vs lib/elasticsearch/xpack/api/actions/transform/preview_transform.rb in elasticsearch-xpack-7.9.0
- old
+ new
@@ -23,10 +23,10 @@
# Previews a transform.
#
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The definition for the transform to preview (*Required*)
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/preview-transform.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/preview-transform.html
#
def preview_transform(arguments = {})
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
headers = arguments.delete(:headers) || {}