class ChefVault::ChefApi
Public Instance Methods
org_scoped_rest_v0()
click to toggle source
# File lib/chef-vault/chef_api.rb, line 30 def org_scoped_rest_v0 @org_scoped_rest_v0 ||= Chef::ServerAPI.new(Chef::Config[:chef_server_url], { api_version: "0" }) end
org_scoped_rest_v1()
click to toggle source
# File lib/chef-vault/chef_api.rb, line 34 def org_scoped_rest_v1 @org_scoped_rest_v1 ||= Chef::ServerAPI.new(Chef::Config[:chef_server_url], { api_version: "1" }) end
rest_v0()
click to toggle source
# File lib/chef-vault/chef_api.rb, line 22 def rest_v0 @rest_v0 ||= Chef::ServerAPI.new(Chef::Config[:chef_server_root], { api_version: "0" }) end
rest_v1()
click to toggle source
# File lib/chef-vault/chef_api.rb, line 26 def rest_v1 @rest_v1 ||= Chef::ServerAPI.new(Chef::Config[:chef_server_root], { api_version: "1" }) end