<?php

namespace App\Http\Controllers\Rewards;

use App\Classes\Modules\Rewards\ControllersLogic\ListRewardsDetailsLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ListRewardsDetailsController
{
    /**
     * @param Request $request
     * @param ListRewardsDetailsLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListRewardsDetailsLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
