diff --git a/VERSION b/VERSION index 42624f3..56e9df1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.2 \ No newline at end of file +0.10.3 \ No newline at end of file diff --git a/samples/TeamsSample.yaml b/samples/TeamsSample.yaml index 19b955b..8c6effb 100644 --- a/samples/TeamsSample.yaml +++ b/samples/TeamsSample.yaml @@ -9,6 +9,16 @@ teams: $result = $client->teams->addUserForTeam($team_gid, array('field' => 'value', 'field' => 'value'), array('opt_pretty' => 'true')) + createTeam: >- + teams->createTeam(array('field' => 'value', 'field' => 'value'), array('opt_pretty' => 'true')) getTeam: >- client->post($path, $params, $options); } + /** Create a team + * + * @param array $params + * @param array $options + * @return response + */ + public function createTeam($params = array(), $options = array()) { + $path = "/teams"; + return $this->client->post($path, $params, $options); + } + /** Get a team * * @param string $team_gid (required) Globally unique identifier for the team.