Class: GoogleCustomSearch::Result
- Inherits:
-
Struct
- Object
- Struct
- GoogleCustomSearch::Result
- Defined in:
- lib/google_custom_search.rb
Overview
Quick Struct-based class to hold data for a single search result.
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
16 17 18 |
# File 'lib/google_custom_search.rb', line 16 def description @description end |
#title ⇒ Object
Returns the value of attribute title
16 17 18 |
# File 'lib/google_custom_search.rb', line 16 def title @title end |
#url ⇒ Object
Returns the value of attribute url
16 17 18 |
# File 'lib/google_custom_search.rb', line 16 def url @url end |