Method: CONTENTdmAPI::Item#metadata
- Defined in:
- lib/contentdm_api/item.rb
#metadata ⇒ Hash
A hash of item metadata with optional compound data for the given item
dmGetCompoundObjectInfo functions
46 47 48 49 50 51 52 |
# File 'lib/contentdm_api/item.rb', line 46 def if with_compound result_with_id.merge('page' => compounds_to_h) else result_with_id.merge('page' => page) end end |