Class: BingSearch::NewsResult
- Defined in:
- lib/bing-search/models.rb
Instance Attribute Summary collapse
-
#date ⇒ Date
Date on which the article was indexed.
-
#description ⇒ String
Sample of the article.
-
#source ⇒ String
Organization responsible for the article.
- #title ⇒ String (also: #headline)
-
#url ⇒ String
URL of the article.
Attributes inherited from Result
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from BingSearch::Model
Instance Attribute Details
#date ⇒ Date
Date on which the article was indexed
144 145 146 |
# File 'lib/bing-search/models.rb', line 144 def date @date end |
#description ⇒ String
Sample of the article
140 141 142 |
# File 'lib/bing-search/models.rb', line 140 def description @description end |
#source ⇒ String
Organization responsible for the article
136 137 138 |
# File 'lib/bing-search/models.rb', line 136 def source @source end |
#title ⇒ String Also known as: headline
127 128 129 |
# File 'lib/bing-search/models.rb', line 127 def title @title end |
#url ⇒ String
URL of the article
132 133 134 |
# File 'lib/bing-search/models.rb', line 132 def url @url end |