lib/elasticsearch/api/actions/security/has_privileges.rb in elasticsearch-api-8.15.0 vs lib/elasticsearch/api/actions/security/has_privileges.rb in elasticsearch-api-8.16.0
- old
+ new
@@ -26,10 +26,10 @@
#
# @option arguments [String] :user Username
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The privileges to test (*Required*)
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.15/security-api-has-privileges.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.16/security-api-has-privileges.html
#
def has_privileges(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || 'security.has_privileges' }
defined_params = [:user].each_with_object({}) do |variable, set_variables|