module Berkshelf::APIClient

Used to communicate with a remotely hosted [Berkshelf API Server](github.com/berkshelf/berkshelf-api).

@example

client = Berkshelf::APIClient.new("https://api.berkshelf.com")
client.universe #=> [...]

Constants

VERSION

Public Class Methods

chef_server(**args) click to toggle source
# File lib/berkshelf/api_client.rb, line 19
def chef_server(**args)
  ChefServerConnection.new(**args)
end
new(*args) click to toggle source
# File lib/berkshelf/api_client.rb, line 15
def new(*args)
  Connection.new(*args)
end