benpickles/js-model — pull request #24 by pablobm (2012-07-04 11:15:25+00:00)
Title: Test for custom REST code + example of single resource

I was wondering how to make update() work with single resources (eg: /user as opposed to /users/343).

I realised I could use the `methods` parameter to the constructor of the REST class to do this. However, I noticed that this feature was not tested. Is it supposed to be used by the general public? Or is it "private"-ish? Is a test in order? Is this the way to accomplish my original goal?