Skip to main content

UsesChefRESTHelpers

All Cookstyle Cops


The department is: Chef/Deprecations

The full name of the cop is: Chef/Deprecations/UsesChefRESTHelpers


Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledNoAll Versions

Chef::REST was removed in Chef Infra Client 13.

Examples

incorrect

require 'chef/rest'
Chef::REST::RESTRequest.new(:GET, FOO, nil).call

Configurable attributes

NameDefault valueConfigurable values
Version Added5.5.0String
Exclude
  • **/metadata.rb
Array

Was this page helpful?