lib/elasticsearch/api/actions/indices/get_mapping.rb in elasticsearch-api-0.4.0 vs lib/elasticsearch/api/actions/indices/get_mapping.rb in elasticsearch-api-0.4.1
- old
+ new
@@ -22,10 +22,10 @@
#
# @see http://www.elasticsearch.org/guide/reference/api/admin-indices-get-mapping/
#
def get_mapping(arguments={})
method = 'GET'
- path = Utils.__pathify( Utils.__listify(arguments[:index]), Utils.__listify(arguments[:type]), '_mapping' )
+ path = Utils.__pathify Utils.__listify(arguments[:index]), Utils.__listify(arguments[:type]), '_mapping'
params = {}
body = nil
perform_request(method, path, params, body).body
end