lib/puree/extractor/project.rb in puree-1.3.0 vs lib/puree/extractor/project.rb in puree-1.4.0

- old
+ new

@@ -7,19 +7,22 @@ class Project < Puree::Extractor::Resource # @option (see Puree::Extractor::Resource#initialize) def initialize(config) super - @latest_api = false # stable API does not return person roles + @latest_api = false # current API does not return person roles setup :project end private def combine_metadata super @model.acronym = @extractor.acronym + # @model.associated = @extractor.associated # not present in stable API @model.description = @extractor.description + @model.external_organisations = @extractor.external_organisations + @model.funded = @extractor.funded? @model.organisations = @extractor.organisations @model.owner = @extractor.owner @model.persons_internal = @extractor.persons_internal @model.persons_external = @extractor.persons_external @model.persons_other = @extractor.persons_other