updateAthlete() public method

public updateAthlete ( string $city, string $state, string $country, string $sex, double $weight )
$city string
$state string
$country string
$sex string
$weight double
Exemplo n.º 1
0
 /**
  * Update current athlete
  * 
  * @link    http://strava.github.io/api/v3/athlete/#update
  * @param   string $city
  * @param   string $state
  * @param   string $country
  * @param   string $sex
  * @param   float $weight
  * @return  array
  * @throws  Exception
  */
 public function updateAthlete($city, $state, $country, $sex, $weight)
 {
     try {
         return $this->service->updateAthlete($city, $state, $country, $sex, $weight);
     } catch (ServiceException $e) {
         throw new ClientException('[SERVICE] ' . $e->getMessage());
     }
 }