public function update($params = [])
    {
        $response = Guzzle::put("tournaments/{$this->tournament_slug}/participants/{$this->id}", $params);
        return $this->updateModel($response->participant);
    }
public function update($params = [])
    {
        $response = Guzzle::put("tournaments/{$this->tournament_slug}/participants/{$this->id}", $params);
        return $this->updateModel($response->participant);
    }
public function update ( $ params = [ ] ) { $ response = Guzzle :: put ( "tournaments/{$this->tournament_slug}/participants/{$this->id}" , $ params ) ; return $ this -> updateModel ( $ response -> participant ) ; }
Update the attributes of a tournament participant.

@param  array  $params
@return Participant
Update the attributes of a tournament participant .