Class: Pikuri::Tool::Scraper::Fetched
- Inherits:
-
Data
- Object
- Data
- Pikuri::Tool::Scraper::Fetched
- Defined in:
- lib/pikuri/tool/scraper.rb
Overview
Result of a successful fetch: the response body, the normalized content-type (lower-cased, with any ; charset=… parameters stripped), and the final URL after redirects.
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body
66 67 68 |
# File 'lib/pikuri/tool/scraper.rb', line 66 def body @body end |
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type
66 67 68 |
# File 'lib/pikuri/tool/scraper.rb', line 66 def content_type @content_type end |
#url ⇒ Object (readonly)
Returns the value of attribute url
66 67 68 |
# File 'lib/pikuri/tool/scraper.rb', line 66 def url @url end |