Class: RelatonOgc::Hit
- Inherits:
-
RelatonBib::Hit
- Object
- RelatonBib::Hit
- RelatonOgc::Hit
- Defined in:
- lib/relaton_ogc/hit.rb
Instance Method Summary collapse
-
#fetch ⇒ RelatonNist::NistBliographicItem
Parse page.
-
#initialize(bibitem, hitcoll = nil) ⇒ Hit
constructor
<Description>.
Constructor Details
#initialize(bibitem, hitcoll = nil) ⇒ Hit
<Description>
9 10 11 12 |
# File 'lib/relaton_ogc/hit.rb', line 9 def initialize(bibitem, hitcoll = nil) super({ id: bibitem.docidentifier[0].id}, hitcoll) @fetch = bibitem end |
Instance Method Details
#fetch ⇒ RelatonNist::NistBliographicItem
Parse page.
16 17 18 |
# File 'lib/relaton_ogc/hit.rb', line 16 def fetch @fetch # ||= Scrapper.parse_page @hit end |