Class: ChefVault::ChefApi
- Inherits:
-
Object
- Object
- ChefVault::ChefApi
- Defined in:
- lib/chef-vault/chef_api.rb
Instance Method Summary collapse
Instance Method Details
#org_scoped_rest_v0 ⇒ Object
30 31 32 |
# 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 ⇒ Object
34 35 36 |
# 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 |