lib/elasticsearch/xpack/api/actions/security/clear_cached_roles.rb in elasticsearch-xpack-7.7.0.pre vs lib/elasticsearch/xpack/api/actions/security/clear_cached_roles.rb in elasticsearch-xpack-7.7.0
- old
+ new
@@ -10,10 +10,10 @@
# Evicts roles from the native role cache.
#
# @option arguments [List] :name Role name
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/security-api-clear-role-cache.html
#
def clear_cached_roles(arguments = {})
raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
headers = arguments.delete(:headers) || {}