module Berkshelf::RidleyCompatAPI::ClassMethods

Public Instance Methods

new_client(**opts) { |client| ... } click to toggle source
# File lib/berkshelf/ridley_compat.rb, line 54
def new_client(**opts, &block)
  client = new(**opts)
  yield client
  # ensure
  # FIXME: does Chef::HTTP support close anywhere?  this will just leak open fds
end