app/Http/Controllers/Api/v1/RateController.php
/**
     * Return List of Rates
     *
     * @return Illuminate\Http\Response
     */
Return List of Rates
@return Illuminate\Http\Response
Return List of Rates @return Illuminate \ Http \ Response
public function index()
    {
        $rates = Rate::all();
        return $this->successResponse($rates);
    }
public function index ( ) { $ rates = Rate :: all ( ) ; return $ this -> successResponse ( $ rates ) ; }
Return List of Rates
 @return Illuminate\Http\Response
Return List of Rates @return Illuminate \ Http \ Response
//