lib/elasticsearch/xpack/api/actions/transform/preview_transform.rb in elasticsearch-xpack-7.8.1 vs lib/elasticsearch/xpack/api/actions/transform/preview_transform.rb in elasticsearch-xpack-7.9.0.pre

- old
+ new

@@ -23,11 +23,11 @@ # 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.8/preview-transform.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/preview-transform.html # def preview_transform(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] headers = arguments.delete(:headers) || {} @@ -39,10 +39,10 @@ params = {} body = arguments[:body] perform_request(method, path, params, body, headers).body end + end end - end end end end