lib/elasticsearch/api/actions/info.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/info.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -5,10 +5,10 @@
# Return simple information about the cluster (name, version).
#
# @see http://elasticsearch.org/guide/
#
def info(arguments={})
- method = 'GET'
+ method = HTTP_GET
path = ""
params = {}
body = nil
perform_request(method, path, params, body).body