collectionspace / collectionspace-mapper

MIT License
0 stars 0 forks source link

Add ability to create vocabulary terms #150

Closed kspurgin closed 1 year ago

kspurgin commented 1 year ago

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')