src/Route/UsersRoute.php
public function addRating(Rating $rating): bool
    {
        $response = $this->parent->performAPICall(
            'put',
            'user/ratings/'.$rating->getRatingType().'/'.$rating->ratingItemId.'/'.$rating->rating
        );
        return $response->getStatusCode() === 200;
    }
public function addRating(Rating $rating): bool
    {
        $response = $this->parent->performAPICall(
            'put',
            'user/ratings/'.$rating->getRatingType().'/'.$rating->ratingItemId.'/'.$rating->rating
        );
        return $response->getStatusCode() === 200;
    }
public function addRating ( Rating $ rating ) : bool { $ response = $ this -> parent -> performAPICall ( 'put' , 'user/ratings/' . $ rating -> getRatingType ( ) . '/' . $ rating -> ratingItemId . '/' . $ rating -> rating ) ; return $ response -> getStatusCode ( ) === 200 ; }
Adds a user rating.

@param Rating $rating The rating to add.

@return bool True on success, false on failure.
Adds a user rating .