lib/elastic/app-search/api/create_engine.rb in elastic-enterprise-search-8.0.1 vs lib/elastic/app-search/api/create_engine.rb in elastic-enterprise-search-8.1.0
- old
+ new
@@ -38,10 +38,9 @@
#
def create_engine(arguments = {})
raise ArgumentError, "Required parameter 'body (name)' missing" unless arguments[:body]
body = arguments.delete(:body) || {}
-
headers = arguments.delete(:headers) || {}
request(
:post,
'api/as/v1/engines/',
arguments,