danriti/wrapdb — pull request #1 by danriti (2013-01-26 05:33:48+00:00)
Title: Add ability to insert object definition instances.

CJ and I worked collaboratively on this pull request. This new feature allows users to insert instances of a previously defined object definition into WrapDB.

### The Routes:

Create an object definition

Rails : /objects/create
Example : /objects/create?api_key=123Key&name=business

Insert an object definition instance

Rails : /:projectId/:objectDefName/insert
Example : /51033aa6f4c4004c8e000002/bathroom/insert?api_key=123Key (JSON data in body)

You might notice that the **username** is not included in the routes. This is intentional because we want to grab the user object based on the **api_key**, and *not* the **username**!

Please review the pull request and provide any comments or concurrence.