# File lib/chef/cookbook_uploader.rb, line 51 def initialize(cookbook, path, opts={}) @cookbook, @path, @opts = cookbook, path, opts @rest = opts[:rest] || Chef::REST.new(Chef::Config[:chef_server_url]) end