Class: Relaton::Bsi::Hit

Inherits:
Core::Hit
  • Object
show all
Defined in:
lib/relaton/bsi/hit.rb

Overview

Hit.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fetch=(value) ⇒ Object (writeonly)

Sets the attribute fetch

Parameters:

  • value

    the value to set the attribute fetch to.



6
7
8
# File 'lib/relaton/bsi/hit.rb', line 6

def fetch=(value)
  @fetch = value
end

Instance Method Details

#itemRelaton::Bsi::ItemData

Parse page.



10
11
12
# File 'lib/relaton/bsi/hit.rb', line 10

def item
  @item ||= Scraper.parse_page self
end