lib/elasticsearch/api/actions/index.rb in elasticsearch-api-1.1.3 vs lib/elasticsearch/api/actions/index.rb in elasticsearch-api-2.0.0.pre

- old
+ new

@@ -88,10 +88,10 @@ :ttl, :version, :version_type ] unsupported_params = [ :pipeline ] - Utils.__report_unsupported_parameters(arguments.keys, unsupported_params) + Utils.__report_unsupported_parameters(arguments, unsupported_params) method = arguments[:id] ? HTTP_PUT : HTTP_POST path = Utils.__pathify Utils.__escape(arguments[:index]), Utils.__escape(arguments[:type]), Utils.__escape(arguments[:id])