Class: RelatonItu::ItuBibliographicItem
- Inherits:
-
RelatonBib::BibliographicItem
- Object
- RelatonBib::BibliographicItem
- RelatonItu::ItuBibliographicItem
- Defined in:
- lib/relaton_itu/itu_bibliographic_item.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#ext_schema ⇒ String
Fetch flavor schema version.
Class Method Details
.from_hash(hash) ⇒ RelatonItu::ItuBibliographicItem
19 20 21 22 |
# File 'lib/relaton_itu/itu_bibliographic_item.rb', line 19 def self.from_hash(hash) item_hash = ::RelatonItu::HashConverter.hash_to_bib(hash) new(**item_hash) end |
Instance Method Details
#ext_schema ⇒ String
Fetch flavor schema version
13 14 15 |
# File 'lib/relaton_itu/itu_bibliographic_item.rb', line 13 def ext_schema @ext_schema ||= schema_versions["relaton-model-itu"] end |