lib/elastic/app-search/client/engines.rb in elastic-app-search-7.4.0 vs lib/elastic/app-search/client/engines.rb in elastic-app-search-7.4.1
- old
+ new
@@ -2,10 +2,11 @@
#
module Elastic
module AppSearch
class Client
module Engines
+
def list_engines(current: 1, size: 20)
get("engines", :page => { :current => current, :size => size })
end
def get_engine(engine_name)
@@ -19,9 +20,10 @@
end
def destroy_engine(engine_name)
delete("engines/#{engine_name}")
end
+
end
end
end
end