lib/elasticsearch/api/actions/ingest/simulate.rb in elasticsearch-api-1.0.18 vs lib/elasticsearch/api/actions/ingest/simulate.rb in elasticsearch-api-1.1.pre
- old
+ new
@@ -11,9 +11,11 @@
# in executed pipeline
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html
#
def simulate(arguments={})
+ Utils.__report_unsupported_method(__method__)
+
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
valid_params = [
:verbose ]
method = 'GET'
path = Utils.__pathify "_ingest/pipeline", Utils.__escape(arguments[:id]), '_simulate'