lib/elasticsearch/api/actions/snapshot/delete_repository.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/snapshot/delete_repository.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -22,10 +22,10 @@
:master_timeout,
:timeout ]
repository = arguments.delete(:repository)
- method = 'DELETE'
+ method = HTTP_DELETE
path = Utils.__pathify( '_snapshot', Utils.__listify(repository) )
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil