Sha256: ecb9b65183fe0b9613b1b562f08ed7a49250cef64b35d7c6756e7977b7de548f

Contents?: true

Size: 486 Bytes

Versions: 3

Compression:

Stored size: 486 Bytes

Contents

module ChefAPI
  class Resource::Group < Resource::Base
    collection_path '/groups'

    schema do
      attribute :groupname, type: String, primary: true, required: true
      attribute :name,      type: String
      attribute :orgname,   type: String
      attribute :actors,    type: Array, default: []
      attribute :users,     type: Array, default: []
      attribute :clients,   type: Array, default: []
      attribute :groups,    type: Array, default: []
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
chef-infra-api-0.10.0 lib/chef-api/resources/group.rb
chef-api-0.10.0 lib/chef-api/resources/group.rb
chef-infra-api-0.9.1 lib/chef-api/resources/group.rb