relaton/relaton-ecma

View on GitHub
lib/relaton_ecma/hash_converter.rb

Summary

Maintainability
A
0 mins
Test Coverage
module RelatonEcma
  module HashConverter
    include RelatonBib::HashConverter
    extend self

    # @param item_hash [Hash]
    # @return [RelatonEcma::BibliographicItem]
    def bib_item(item_hash)
      BibliographicItem.new(**item_hash)
    end
  end
end