lib/elasticsearch/api/actions/indices/delete_template.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/indices/delete_template.rb in elasticsearch-api-1.0.7

- old
+ new

@@ -20,10 +20,10 @@ # def delete_template(arguments={}) raise ArgumentError, "Required argument 'name' missing" unless arguments[:name] valid_params = [ :timeout ] - method = 'DELETE' + method = HTTP_DELETE path = Utils.__pathify '_template', Utils.__escape(arguments[:name]) params = Utils.__validate_and_extract_params arguments, valid_params body = nil