lib/elasticsearch/api/actions/cluster/exists_component_template.rb in elasticsearch-api-7.13.3 vs lib/elasticsearch/api/actions/cluster/exists_component_template.rb in elasticsearch-api-7.14.0.pre

- old
+ new

@@ -24,11 +24,11 @@ # @option arguments [String] :name The name of the template # @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node # @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false) # @option arguments [Hash] :headers Custom HTTP headers # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.13/indices-component-template.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.14/indices-component-template.html # def exists_component_template(arguments = {}) raise ArgumentError, "Required argument 'name' missing" unless arguments[:name] headers = arguments.delete(:headers) || {} @@ -44,9 +44,10 @@ body = nil perform_request(method, path, params, body, headers).body end alias_method :exists_component_template?, :exists_component_template + # Register this action with its valid params when the module is loaded. # # @since 6.2.0 ParamsRegistry.register(:exists_component_template, [ :master_timeout,