lib/elasticsearch/api/actions/cat/plugins.rb in elasticsearch-api-8.12.2 vs lib/elasticsearch/api/actions/cat/plugins.rb in elasticsearch-api-8.13.0
- old
+ new
@@ -32,21 +32,21 @@
# @option arguments [Boolean] :include_bootstrap Include bootstrap plugins in the response
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
# @option arguments [Boolean] :v Verbose mode. Display column headers
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/cat-plugins.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.13/cat-plugins.html
#
def plugins(arguments = {})
- request_opts = { endpoint: arguments[:endpoint] || "cat.plugins" }
+ request_opts = { endpoint: arguments[:endpoint] || 'cat.plugins' }
arguments = arguments.clone
headers = arguments.delete(:headers) || {}
body = nil
method = Elasticsearch::API::HTTP_GET
- path = "_cat/plugins"
+ path = '_cat/plugins'
params = Utils.process_params(arguments)
Elasticsearch::API::Response.new(
perform_request(method, path, params, body, headers, request_opts)
)