Class: Berkshelf::RidleyCompat
- Inherits:
-
Chef::HTTP::Simple
- Object
- Chef::HTTP::Simple
- Berkshelf::RidleyCompat
- Includes:
- RidleyCompatAPI
- Defined in:
- lib/berkshelf/ridley_compat.rb
Overview
RidleyCompat is the ServerAPI, but we inherit from Chef::HTTP::Simple and then include all our middlewares and then need to include our own CompatAPI. The end result is a ridley-esque way of talking to a chef server.
Instance Method Summary collapse
-
#initialize(**opts) ⇒ RidleyCompat
constructor
A new instance of RidleyCompat.
Methods included from RidleyCompatAPI
Constructor Details
#initialize(**opts) ⇒ RidleyCompat
Returns a new instance of RidleyCompat.
103 104 105 106 |
# File 'lib/berkshelf/ridley_compat.rb', line 103 def initialize(**opts) opts[:version_class] = Chef::CookbookManifestVersions super(**opts) end |