getActivityUploadStatus() public method

Exemplo n.º 1
0
 /**
  * Check upload status
  * 
  * @link    http://strava.github.io/api/v3/uploads/#get-status
  * @param   int $id
  * @return  array
  * @throws  Exception
  */
 public function getActivityUploadStatus($id)
 {
     try {
         return $this->service->getActivityUploadStatus($id);
     } catch (ServiceException $e) {
         throw new ClientException('[SERVICE] ' . $e->getMessage());
     }
 }