lib/relaton_cen/scrapper.rb in relaton-cen-1.13.0 vs lib/relaton_cen/scrapper.rb in relaton-cen-1.14.0
- old
+ new
@@ -9,13 +9,13 @@
}.freeze
class << self
# Parse page.
# @param hit [RelatonCen::Hit]
- # @return [RelatonBib::BibliographicItem]
+ # @return [RelatonIsoBib::IsoBibliographicItem]
def parse_page(hit) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
doc = hit.hit_collection.agent.get hit.hit[:url]
- RelatonIsoBib::IsoBibliographicItem.new(
+ BibliographicItem.new(
fetched: Date.today.to_s,
type: "standard",
docid: fetch_docid(hit.hit[:code]),
language: ["en"],
script: ["Latn"],