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 default Supports autocorrection Target Chef Version
Enabled No All Versions

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

Examples

incorrect

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

Configurable attributes

Name Default value Configurable values
Version Added 5.5.0 String
Exclude
  • **/metadata.rb
Array

Was this page helpful?

×









Search Results