Sha256: ccc37a2328e528e8e24a5e75fb8e637c84661860495cbf88243119c0b5573a96

Contents?: true

Size: 284 Bytes

Versions: 8

Compression:

Stored size: 284 Bytes

Contents

module ChefAPI
  class Resource::Principal < Resource::Base
    collection_path "/principals"

    schema do
      attribute :name,       type: String, primary: true, required: true
      attribute :type,       type: String
      attribute :public_key, type: String
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
chef-infra-api-0.10.10 lib/chef-api/resources/principal.rb
chef-api-0.10.10 lib/chef-api/resources/principal.rb
chef-infra-api-0.10.7 lib/chef-api/resources/principal.rb
chef-api-0.10.7 lib/chef-api/resources/principal.rb
chef-infra-api-0.10.5 lib/chef-api/resources/principal.rb
chef-api-0.10.5 lib/chef-api/resources/principal.rb
chef-infra-api-0.10.2 lib/chef-api/resources/principal.rb
chef-api-0.10.2 lib/chef-api/resources/principal.rb