diff options
Diffstat (limited to 'lib/chef/chef_fs/file_system/org_entry.rb')
-rw-r--r-- | lib/chef/chef_fs/file_system/org_entry.rb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/chef/chef_fs/file_system/org_entry.rb b/lib/chef/chef_fs/file_system/org_entry.rb deleted file mode 100644 index df3acba528..0000000000 --- a/lib/chef/chef_fs/file_system/org_entry.rb +++ /dev/null @@ -1,29 +0,0 @@ -require 'chef/chef_fs/file_system/rest_list_entry' -require 'chef/chef_fs/data_handler/organization_data_handler' - -class Chef - module ChefFS - module FileSystem - # /organizations/NAME/org.json - # Represents the actual data at /organizations/NAME (the full name, etc.) - class OrgEntry < RestListEntry - def data_handler - Chef::ChefFS::DataHandler::OrganizationDataHandler.new - end - - # /organizations/foo/org.json -> GET /organizations/foo - def api_path - parent.api_path - end - - def exists? - parent.exists? - end - - def delete(recurse) - raise Chef::ChefFS::FileSystem::OperationNotAllowedError.new(:delete, self) - end - end - end - end -end |