Class: BingSearch::CompositeSearchResult
- Defined in:
- lib/bing-search/models.rb
Instance Attributes for Results collapse
- #image ⇒ Array<ImageResult>
- #news ⇒ Array<NewsResult>
- #related_search ⇒ Array<RelatedSearchResult>
- #spelling_suggestions ⇒ Array<SpellingSuggestionsResult>
- #video ⇒ Array<VideoResult>
- #web ⇒ Array<WebResult>
Instance Attribute Summary collapse
-
#alteration_override_query ⇒ String
Query text that forces the original query, preventing any alterations in #altered_query.
-
#altered_query ⇒ String
The query text after spelling errors have been corrected.
-
#image_offset ⇒ Integer?
The ordinal of the first image result.
-
#image_total ⇒ Integer?
The number of image results in the Bing index.
-
#news_offset ⇒ Integer?
The ordinal of the first news result.
-
#news_total ⇒ Integer?
The number of news results in the Bing index.
-
#spelling_suggestions_total ⇒ Integer?
The number of spelling suggestions in the Bing index.
-
#video_offset ⇒ Integer?
The ordinal of the first video result.
-
#video_total ⇒ Integer?
The number of video results in the Bing index.
-
#web_offset ⇒ Integer?
The ordinal of the first web result.
-
#web_total ⇒ Integer?
The number of web results in the Bing index.
Attributes inherited from Result
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from BingSearch::Model
Instance Attribute Details
#alteration_override_query ⇒ String
Query text that forces the original query, preventing any alterations in #altered_query
230 231 232 |
# File 'lib/bing-search/models.rb', line 230 def alteration_override_query @alteration_override_query end |
#altered_query ⇒ String
The query text after spelling errors have been corrected
226 227 228 |
# File 'lib/bing-search/models.rb', line 226 def altered_query @altered_query end |
#image ⇒ Array<ImageResult>
172 173 174 |
# File 'lib/bing-search/models.rb', line 172 def image @image end |
#image_offset ⇒ Integer?
The ordinal of the first image result
202 203 204 |
# File 'lib/bing-search/models.rb', line 202 def image_offset @image_offset end |
#image_total ⇒ Integer?
The number of image results in the Bing index
198 199 200 |
# File 'lib/bing-search/models.rb', line 198 def image_total @image_total end |
#news ⇒ Array<NewsResult>
178 179 180 |
# File 'lib/bing-search/models.rb', line 178 def news @news end |
#news_offset ⇒ Integer?
The ordinal of the first news result
218 219 220 |
# File 'lib/bing-search/models.rb', line 218 def news_offset @news_offset end |
#news_total ⇒ Integer?
The number of news results in the Bing index
214 215 216 |
# File 'lib/bing-search/models.rb', line 214 def news_total @news_total end |
#related_search ⇒ Array<RelatedSearchResult>
181 182 183 |
# File 'lib/bing-search/models.rb', line 181 def end |
#spelling_suggestions ⇒ Array<SpellingSuggestionsResult>
184 185 186 |
# File 'lib/bing-search/models.rb', line 184 def spelling_suggestions @spelling_suggestions end |
#spelling_suggestions_total ⇒ Integer?
The number of spelling suggestions in the Bing index
222 223 224 |
# File 'lib/bing-search/models.rb', line 222 def spelling_suggestions_total @spelling_suggestions_total end |
#video ⇒ Array<VideoResult>
175 176 177 |
# File 'lib/bing-search/models.rb', line 175 def video @video end |
#video_offset ⇒ Integer?
The ordinal of the first video result
210 211 212 |
# File 'lib/bing-search/models.rb', line 210 def video_offset @video_offset end |
#video_total ⇒ Integer?
The number of video results in the Bing index
206 207 208 |
# File 'lib/bing-search/models.rb', line 206 def video_total @video_total end |
#web_offset ⇒ Integer?
The ordinal of the first web result
194 195 196 |
# File 'lib/bing-search/models.rb', line 194 def web_offset @web_offset end |
#web_total ⇒ Integer?
The number of web results in the Bing index
190 191 192 |
# File 'lib/bing-search/models.rb', line 190 def web_total @web_total end |