Sha256: f9cb782492f8fc19810215004e33e908325b79980bd5e165efc5e4860ec8f956

Contents?: true

Size: 963 Bytes

Versions: 14

Compression:

Stored size: 963 Bytes

Contents

module ChefAPI
  class Resource::CookbookVersion < Resource::Base
    collection_path '/cookbooks/:cookbook'

    schema do
      attribute :name,          type: String,  primary: true, required: true
      attribute :cookbook_name, type: String,  required: true
      attribute :metadata,      type: Hash,    required: true
      attribute :version,       type: String,  required: true
      attribute :frozen?,       type: Boolean, default: false

      attribute :attributes,  type: Array, default: []
      attribute :definitions, type: Array, default: []
      attribute :files,       type: Array, default: []
      attribute :libraries,   type: Array, default: []
      attribute :providers,   type: Array, default: []
      attribute :recipes,     type: Array, default: []
      attribute :resources,   type: Array, default: []
      attribute :root_files,  type: Array, default: []
      attribute :templates,   type: Array, default: []
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
chef-infra-api-0.10.0 lib/chef-api/resources/cookbook_version.rb
chef-api-0.10.0 lib/chef-api/resources/cookbook_version.rb
chef-infra-api-0.9.1 lib/chef-api/resources/cookbook_version.rb
chef-api-0.9.0 lib/chef-api/resources/cookbook_version.rb
chef-api-0.8.0 lib/chef-api/resources/cookbook_version.rb
chef-api-0.7.1 lib/chef-api/resources/cookbook_version.rb
chef-api-0.7.0 lib/chef-api/resources/cookbook_version.rb
chef-api-0.6.0 lib/chef-api/resources/cookbook_version.rb
chef-api-0.5.0 lib/chef-api/resources/cookbook_version.rb
chef-api-0.4.1 lib/chef-api/resources/cookbook_version.rb
chef-api-0.4.0 lib/chef-api/resources/cookbook_version.rb
chef-api-0.3.0 lib/chef-api/resources/cookbook_version.rb
chef-api-0.2.1 lib/chef-api/resources/cookbook_version.rb
chef-api-0.2.0 lib/chef-api/resources/cookbook_version.rb