lib/elastic/enterprise-search/api/version.rb in elastic-enterprise-search-7.17.1 vs lib/elastic/enterprise-search/api/version.rb in elastic-enterprise-search-8.0.0.pre

- old
+ new

@@ -21,22 +21,21 @@ module EnterpriseSearch module Actions # Version - Get version information for this server # Get version information for this server # - # @param arguments [Hash] endpoint arguments + # @param [Hash] arguments endpoint arguments # @option arguments [Hash] :headers optional HTTP headers to send with the request # # @see https://www.elastic.co/guide/en/enterprise-search/current/management-apis.html # def version(arguments = {}) headers = arguments.delete(:headers) || {} - request( :get, 'api/ent/v1/internal/version/', arguments, - {}, + nil, headers ) end end end