lib/elasticsearch/xpack/api/actions/transform/preview_transform.rb in elasticsearch-xpack-7.7.0.pre vs lib/elasticsearch/xpack/api/actions/transform/preview_transform.rb in elasticsearch-xpack-7.7.0
- old
+ new
@@ -10,10 +10,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/current/preview-transform.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/preview-transform.html
#
def preview_transform(arguments = {})
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
headers = arguments.delete(:headers) || {}