lib/elastic/app-search/api/put_documents.rb in elastic-enterprise-search-8.0.1 vs lib/elastic/app-search/api/put_documents.rb in elastic-enterprise-search-8.1.0
- old
+ new
@@ -33,10 +33,9 @@
#
def put_documents(engine_name, arguments = {})
raise ArgumentError, "Required parameter 'engine_name' missing" unless engine_name
documents = arguments.delete(:documents) || {}
-
headers = arguments.delete(:headers) || {}
request(
:patch,
"api/as/v1/engines/#{engine_name}/documents/",
arguments,