lib/chef-api/connection.rb in chef-api-0.7.0 vs lib/chef-api/connection.rb in chef-api-0.7.1
- old
+ new
@@ -5,11 +5,11 @@
module ChefAPI
#
# Connection object for the ChefAPI API.
#
- # @see http://docs.opscode.com/api_chef_server.html
+ # @see https://docs.chef.io/api_chef_server.html
#
class Connection
class << self
#
# @private
@@ -45,9 +45,10 @@
proxy :partial_search, 'Resource::PartialSearch'
proxy :principals, 'Resource::Principal'
proxy :roles, 'Resource::Role'
proxy :search, 'Resource::Search'
proxy :users, 'Resource::User'
+ proxy :organizations, 'Resource::Organization'
#
# Create a new ChefAPI Connection with the given options. Any options
# given take precedence over the default options.
#