gorkalaucirica/HipchatAPIv2Client — pull request #9 by JosephBlock (2014-10-26 16:30:19+00:00)
Title: Added Function: Update User

Function to update user information.

**Example**
```php
use GorkaLaucirica\HipchatAPIv2Client\Auth\OAuth2;
use GorkaLaucirica\HipchatAPIv2Client\Client;
use GorkaLaucirica\HipchatAPIv2Client\API\RoomAPI;

$auth = new OAuth2('APITOKENHERE');
$client = new Client($auth);
$userAPI = new UserAPI($client);

$user = $userAPI($userId);
$user -> setTitle("newTitle");
$userAPI -> updateUser($user);
```