lib/elasticsearch/api/actions/indices/delete_template.rb in elasticsearch-api-1.0.2 vs lib/elasticsearch/api/actions/indices/delete_template.rb in elasticsearch-api-1.0.4
- old
+ new
@@ -7,9 +7,13 @@
#
# @example Delete a template named _mytemplate_
#
# client.indices.delete_template name: 'mytemplate'
#
+ # @example Delete all templates
+ #
+ # client.indices.delete_template name: '*'
+ #
# @option arguments [String] :name The name of the template (*Required*)
# @option arguments [Time] :timeout Explicit operation timeout
#
# @see http://www.elasticsearch.org/guide/reference/api/admin-indices-templates/
#