relaton/relaton-cen

View on GitHub
lib/relaton_cen/hit.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module RelatonCen
  # Hit.
  class Hit < RelatonBib::Hit
    attr_writer :fetch

    # Parse page.
    # @return [IsoRelatonBib::IsoBibliographicItem]
    def fetch
      @fetch ||= Scrapper.parse_page self
    end
  end
end