Sha256: 3a5a4730a7c2bdc0803b16544de9a15be879063ee4e74ceb4f1d14b2f33d5032

Contents?: true

Size: 596 Bytes

Versions: 13

Compression:

Stored size: 596 Bytes

Contents

module ChefAPI
  class Resource::Organization < Resource::Base
    collection_path '/organizations'

    schema do
      attribute :name,       type: String, primary: true, required: true
      attribute :org_type,   type: String
      attribute :full_name,  type: String
      attribute :clientname, type: String
      attribute :guid,       type: String

      ignore :_id
      ignore :_rev
      ignore :chargify_subscription_id
      ignore :chargify_customer_id
      ignore :billing_plan
      ignore :requester_id
      ignore :assigned_at
      ignore 'couchrest-type'
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

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