Hi,
endpoint $client->zones()->rulesets()->create doesn't work.
in src\Endpoints\Accounts\Rulesets.php and src\Endpoints\Zones\Rulesets.php -
instead of use Cloudflare\Configurations\Rulesets\Ruleset; should be use Cloudflare\Configurations\Ruleset;
if array is provided instead of type - requiredParams gives error if rules is empty array.
Hi,
endpoint
$client->zones()->rulesets()->createdoesn't work.in
src\Endpoints\Accounts\Rulesets.phpandsrc\Endpoints\Zones\Rulesets.php-instead of
use Cloudflare\Configurations\Rulesets\Ruleset;should beuse Cloudflare\Configurations\Ruleset;if array is provided instead of type -
requiredParamsgives error ifrulesis empty array.