lib/chef-api/resources/environment.rb in chef-infra-api-0.10.0 vs lib/chef-api/resources/environment.rb in chef-infra-api-0.10.2

- old
+ new

@@ -1,7 +1,7 @@ module ChefAPI class Resource::Environment < Resource::Base - collection_path '/environments' + collection_path "/environments" schema do attribute :name, type: String, primary: true, required: true attribute :description, type: String attribute :default_attributes, type: Hash, default: {}