deleteActivity() public method

public deleteActivity ( integer $id )
$id integer
Ejemplo n.º 1
0
 /**
  * Delete an activity
  * 
  * @link    http://strava.github.io/api/v3/activities/#delete
  * @param   int $id
  * @return  array
  * @throws  Exception
  */
 public function deleteActivity($id)
 {
     try {
         return $this->service->deleteActivity($id);
     } catch (ServiceException $e) {
         throw new ClientException('[SERVICE] ' . $e->getMessage());
     }
 }