mtrpcic/phonebook — pull request #2 by Akkuma (2013-07-24 20:24:39+00:00)
Title: Added in the ability to "restfully" build urls with little work

This is actually being used in a real product. I changed the api signature as I felt it was "broken". I didn't want to continually declare ```url = ''```, which would look like ```.get('',data)``` and my urls were automatically being built for me via convention through the data.

By building the url restfully you can simplify code like ```users.get({id: 10})``` and have that map to /users/10 all without extra work.