elasticsearch-api/lib/elasticsearch/api/actions/info.rb
def info(arguments = {})
        headers = arguments.delete(:headers) || {}

        body = nil

        arguments = arguments.clone

        method = Elasticsearch::API::HTTP_GET
        path   = ""
        params = {}

        perform_request(method, path, params, body, headers).body
      end
# Returns basic information about the cluster.
#
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html
#
Returns basic information about the cluster.
Returns basic information about the cluster .
def info(arguments = {})
        headers = arguments.delete(:headers) || {}
        body = nil
        arguments = arguments.clone
        method = Elasticsearch::API::HTTP_GET
        path   = ""
        params = {}
        perform_request(method, path, params, body, headers).body
      end
def info ( arguments = { } ) headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone method = Elasticsearch :: API :: HTTP_GET path = "" params = { } perform_request ( method , path , params , body , headers ) . body end
Returns basic information about the cluster.
Returns basic information about the cluster .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None