leaveClub() public method

public leaveClub ( integer $id )
$id integer
Ejemplo n.º 1
0
 /**
  * Leave a club
  *
  * @link    https://strava.github.io/api/v3/clubs/#leave
  * @param   int $id
  * @return  array
  * @throws  Exception
  */
 public function leaveClub($id)
 {
     try {
         return $this->service->leaveClub($id);
     } catch (ServiceException $e) {
         throw new ClientException('[SERVICE] ' . $e->getMessage());
     }
 }