Closed kspurgin closed 1 year ago
Set up a new vocabulary terms handler: vth = CollectionSpace::Mapper::VocabularyTerms::Handler.new(client: client)
vth = CollectionSpace::Mapper::VocabularyTerms::Handler.new(client: client)
Add terms: vth.add_term(vocab: 'Annotation Type', term: 'Credit line') vth.add_term(vocab: 'persontermtype', term: 'Mage')
vth.add_term(vocab: 'Annotation Type', term: 'Credit line')
vth.add_term(vocab: 'persontermtype', term: 'Mage')
Set up a new vocabulary terms handler:
vth = CollectionSpace::Mapper::VocabularyTerms::Handler.new(client: client)
Add terms:
vth.add_term(vocab: 'Annotation Type', term: 'Credit line')
vth.add_term(vocab: 'persontermtype', term: 'Mage')