Sha256: 049b08ad6b64dd1ddafed8e1007f1dde17f6d11c98c9e7aa2779e3ed8c1c7e54
Contents?: true
Size: 568 Bytes
Versions: 111
Compression:
Stored size: 568 Bytes
Contents
require "chef/chef_fs/file_system/chef_server/rest_list_entry" require "chef/chef_fs/data_handler/data_bag_item_data_handler" class Chef module ChefFS module FileSystem module ChefServer # /policies/NAME-REVISION.json # Represents the actual data at /organizations/ORG/policies/NAME/revisions/REVISION class DataBagEntry < RestListEntry def display_path pth = "/data_bags/#{parent.name}/#{name}" File.extname(pth).empty? ? pth + ".json" : pth end end end end end end
Version data entries
111 entries across 111 versions & 1 rubygems