class RuboCop::Cop::Chef::RedundantCode::CustomResourceWithAllowedActions

It is not necessary to set ‘actions` or `allowed_actions` in custom resources as Chef Infra Client determines these automatically from the set of all actions defined in the resource.

@example

### incorrect
allowed_actions [:create, :remove]

# also bad
actions [:create, :remove]