lib/elastic/app-search/api/synonym_set.rb in elastic-enterprise-search-8.0.1 vs lib/elastic/app-search/api/synonym_set.rb in elastic-enterprise-search-8.1.0

- old
+ new

@@ -34,10 +34,9 @@ def synonym_set(engine_name, arguments = {}) raise ArgumentError, "Required parameter 'engine_name' missing" unless engine_name raise ArgumentError, "Required parameter 'synonym_set_id' missing" unless arguments[:synonym_set_id] synonym_set_id = arguments.delete(:synonym_set_id) - headers = arguments.delete(:headers) || {} request( :get, "api/as/v1/engines/#{engine_name}/synonyms/#{synonym_set_id}/", arguments,