lib/elasticsearch/api/actions/indices/put_settings.rb in elasticsearch-api-0.4.0 vs lib/elasticsearch/api/actions/indices/put_settings.rb in elasticsearch-api-0.4.1

- old
+ new

@@ -31,10 +31,10 @@ # @see http://www.elasticsearch.org/guide/reference/api/admin-indices-update-settings/ # def put_settings(arguments={}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] method = 'PUT' - path = Utils.__pathify( Utils.__listify(arguments[:index]), '_settings' ) + path = Utils.__pathify Utils.__listify(arguments[:index]), '_settings' params = {} body = arguments[:body] perform_request(method, path, params, body).body end