require 'buff/config/json' module Berkshelf::API class Config < Buff::Config::JSON class << self # @return [String] def default_path File.expand_path("~/.berkshelf/api-server/config.json") end end attribute 'endpoints', type: Array, default: [ { type: "opscode", options: { url: 'http://cookbooks.opscode.com/api/v1' } } ] end end