Sha256: bd336cd1489b7d6ef7e6a1e00e6f7d22195aa6c1204040bed2002d009bf8d2bf
Contents?: true
Size: 561 Bytes
Versions: 3
Compression:
Stored size: 561 Bytes
Contents
require_relative "rest_list_entry" require_relative "../../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
3 entries across 3 versions & 1 rubygems