public function rate($id, $rating)
    {
        return $this->getFactory()->createResult(
            $this->getApi()->rateMovie($id, $rating)
        );
    }
public function rate($id, $rating)
    {
        return $this->getFactory()->createResult(
            $this->getApi()->rateMovie($id, $rating)
        );
    }
public function rate ( $ id , $ rating ) { return $ this -> getFactory ( ) -> createResult ( $ this -> getApi ( ) -> rateMovie ( $ id , $ rating ) ) ; }
This method lets users rate a movie. A valid session id or guest session id is required.

@param  integer $id
@param  float   $rating
@return Movie[]
This method lets users rate a movie . A valid session id or guest session id is required .