Class: Google::Search::Item::Web
- Inherits:
-
Google::Search::Item
- Object
- Google::Search::Item
- Google::Search::Item::Web
- Defined in:
- lib/google-search/item/web.rb
Instance Attribute Summary collapse
-
#cache_uri ⇒ Object
readonly
Cached uri.
Attributes inherited from Google::Search::Item
#content, #index, #thumbnail_height, #thumbnail_uri, #thumbnail_width, #title, #uri, #visible_uri
Instance Method Summary collapse
-
#initialize(hash) ⇒ Web
constructor
Initialize with hash.
Methods inherited from Google::Search::Item
Constructor Details
#initialize(hash) ⇒ Web
Initialize with hash.
15 16 17 18 |
# File 'lib/google-search/item/web.rb', line 15 def initialize hash super @cache_uri = hash['cacheUrl'] end |
Instance Attribute Details
#cache_uri ⇒ Object (readonly)
Cached uri.
10 11 12 |
# File 'lib/google-search/item/web.rb', line 10 def cache_uri @cache_uri end |