Class: Yahoo::WebSearch::Result
- Inherits:
-
Struct
- Object
- Struct
- Yahoo::WebSearch::Result
- Defined in:
- lib/yahoo/web_search.rb,
lib/yahoo/web_search.rb
Overview
A Result contains the following fields:
title
-
the title of the web page
summary
-
summary text associated with the web page
url
-
URL for the web page
click_url
-
URL for linking to the page
mime_type
-
MIME type of the page
modification_date
-
Time the page was last modified
cache_url
-
URL of the cached result
cache_size
-
size of the cached result in bytes
Instance Attribute Summary collapse
-
#cache_size ⇒ Object
Returns the value of attribute cache_size.
-
#cache_url ⇒ Object
Returns the value of attribute cache_url.
-
#click_url ⇒ Object
Returns the value of attribute click_url.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
-
#modification_date ⇒ Object
Returns the value of attribute modification_date.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Attribute Details
#cache_size ⇒ Object
Returns the value of attribute cache_size
10 11 12 |
# File 'lib/yahoo/web_search.rb', line 10 def cache_size @cache_size end |
#cache_url ⇒ Object
Returns the value of attribute cache_url
10 11 12 |
# File 'lib/yahoo/web_search.rb', line 10 def cache_url @cache_url end |
#click_url ⇒ Object
Returns the value of attribute click_url
10 11 12 |
# File 'lib/yahoo/web_search.rb', line 10 def click_url @click_url end |
#mime_type ⇒ Object
Returns the value of attribute mime_type
10 11 12 |
# File 'lib/yahoo/web_search.rb', line 10 def mime_type @mime_type end |
#modification_date ⇒ Object
Returns the value of attribute modification_date
10 11 12 |
# File 'lib/yahoo/web_search.rb', line 10 def modification_date @modification_date end |
#summary ⇒ Object
Returns the value of attribute summary
10 11 12 |
# File 'lib/yahoo/web_search.rb', line 10 def summary @summary end |
#title ⇒ Object
Returns the value of attribute title
10 11 12 |
# File 'lib/yahoo/web_search.rb', line 10 def title @title end |
#url ⇒ Object
Returns the value of attribute url
10 11 12 |
# File 'lib/yahoo/web_search.rb', line 10 def url @url end |