class Chef::ChefFS::FileSystem::ChefServer::OrgEntry

/organizations/NAME/org.json Represents the actual data at /organizations/NAME (the full name, etc.)

Public Instance Methods

api_path() click to toggle source

/organizations/foo/org.json -> GET /organizations/foo

# File lib/chef/chef_fs/file_system/chef_server/org_entry.rb, line 16
def api_path
  parent.api_path
end
data_handler() click to toggle source
# File lib/chef/chef_fs/file_system/chef_server/org_entry.rb, line 11
def data_handler
  Chef::ChefFS::DataHandler::OrganizationDataHandler.new
end
delete(recurse) click to toggle source
# File lib/chef/chef_fs/file_system/chef_server/org_entry.rb, line 28
def delete(recurse)
  raise Chef::ChefFS::FileSystem::OperationNotAllowedError.new(:delete, self)
end
display_path() click to toggle source
# File lib/chef/chef_fs/file_system/chef_server/org_entry.rb, line 20
def display_path
  "/org.json"
end
exists?() click to toggle source
# File lib/chef/chef_fs/file_system/chef_server/org_entry.rb, line 24
def exists?
  parent.exists?
end