lib/elasticsearch/api/actions/cat/help.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/cat/help.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -10,10 +10,10 @@
# @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat.html
#
def help(arguments={})
valid_params = [
:help ]
- method = 'GET'
+ method = HTTP_GET
path = "_cat"
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil
perform_request(method, path, params, body).body