Sha256: d60815c669d4e507b1b43198ca01b91476475aa056e50319245b63c49c553e9c
Contents?: true
Size: 876 Bytes
Versions: 194
Compression:
Stored size: 876 Bytes
Contents
require_relative "rest_list_entry" require_relative "../../data_handler/organization_data_handler" class Chef module ChefFS module FileSystem module ChefServer # /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 display_path "/org.json" end def exists? parent.exists? end def delete(recurse) raise Chef::ChefFS::FileSystem::OperationNotAllowedError.new(:delete, self) end end end end end end
Version data entries
194 entries across 194 versions & 1 rubygems