public function send(Client $client)
{
// Get response
$results = $client->getTransport()->sendRequest("/api/{$client->getUsername()}/groups");
$groups = array();
foreach ($results as $groupId => $attributes) {
$groups[$groupId] = new Group($groupId, $attributes, $client);
}
return $groups;
}