ramv/node-elastical — pull request #19 by francov (2013-12-04 16:24:12+00:00)
Title: Fix river api

This fix should close #18.
Client `putRiver`, `getRiver` and `deleteRiver` methods are created using the `wrapIndexMethod` helper: this results in Index methods being called without the name parameter. Using `wrapStaticIndexMethod` solved the problem.