lib/berkshelf/api_client.rb in berkshelf-api-client-2.0.1 vs lib/berkshelf/api_client.rb in berkshelf-api-client-2.0.2
- old
+ new
@@ -7,13 +7,18 @@
module APIClient
require_relative 'api_client/version'
require_relative 'api_client/errors'
require_relative 'api_client/remote_cookbook'
require_relative 'api_client/connection'
+ require_relative 'api_client/chef_server_connection'
class << self
def new(*args)
Connection.new(*args)
+ end
+
+ def chef_server(*args)
+ ChefServerConnection.new(*args)
end
end
end
end