Class: Relaton::Bsi::Hit
- Inherits:
-
Core::Hit
- Object
- Core::Hit
- Relaton::Bsi::Hit
- Defined in:
- lib/relaton/bsi/hit.rb
Overview
Hit.
Instance Attribute Summary collapse
-
#fetch ⇒ Object
writeonly
Sets the attribute fetch.
Instance Method Summary collapse
-
#item ⇒ Relaton::Bsi::ItemData
Parse page.
Instance Attribute Details
#fetch=(value) ⇒ Object (writeonly)
Sets the attribute fetch
6 7 8 |
# File 'lib/relaton/bsi/hit.rb', line 6 def fetch=(value) @fetch = value end |
Instance Method Details
#item ⇒ Relaton::Bsi::ItemData
Parse page.
10 11 12 |
# File 'lib/relaton/bsi/hit.rb', line 10 def item @item ||= Scraper.parse_page self end |