Class: RelatonCalconnect::CcBibliographicItem
- Inherits:
-
RelatonBib::BibliographicItem
- Object
- RelatonBib::BibliographicItem
- RelatonCalconnect::CcBibliographicItem
- Defined in:
- lib/relaton_calconnect/cc_bibliographic_item.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#ext_schema ⇒ String
Fetch flavor schema version.
Class Method Details
.from_hash(hash) ⇒ RelatonIsoBib::CcBibliographicItem
14 15 16 17 |
# File 'lib/relaton_calconnect/cc_bibliographic_item.rb', line 14 def self.from_hash(hash) item_hash = ::RelatonCalconnect::HashConverter.hash_to_bib(hash) new(**item_hash) end |
Instance Method Details
#ext_schema ⇒ String
Fetch flavor schema version
8 9 10 |
# File 'lib/relaton_calconnect/cc_bibliographic_item.rb', line 8 def ext_schema @ext_schema ||= schema_versions["relaton-model-cc"] end |