koel/app/Http/Requests/API/ObjectStorage/Request.php
2016-06-13 17:04:42 +08:00

26 lines
455 B
PHP

<?php
namespace App\Http\Requests\API\ObjectStorage;
use App\Http\Requests\API\Request as BaseRequest;
class Request extends BaseRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
public function rules()
{
return [
'bucket' => 'required',
'key' => 'required',
];
}
}