koel/app/Http/Requests/API/ObjectStorage/Request.php

27 lines
455 B
PHP
Raw Normal View History

2016-06-13 09:04:42 +00:00
<?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',
];
}
}