Skip to content

Can't create new ruleset #45

Closed
Closed

Description

@qwave

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.

Activity

  1. added
    bug
    on Feb 18, 2025
  2. self-assigned this
    on Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Rulesetbug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions