praekelt/vumi-go — pull request #219 by justinvdm (2013-04-22 14:36:07+00:00)
Title: ContactsResource update and new api methods need to set contact fields better

Currently, ContactsResource's `.update()` and `.new()` methods need command objects like this to update a contact's fields:
```js
{key: '123abc', some_field: 'some_field_value'}
```

The following is command format is nicer and allows a contact to have `key` field:
```js
{key: '123abc', fields: {some_field: 'some_field_value'}}
```