Class: GoogleVideo::VideoSearchResponse
- Defined in:
- lib/google-video.rb
Overview
Describes a response to a VideoSearchRequest. Parameters are specified via a hash passed to the object on construction mapping attribute names to their respective values.
Instance Attribute Summary collapse
-
#end_index ⇒ Object
readonly
the 1-based ending index number of the results in this set.
-
#execution_time ⇒ Object
readonly
the time taken in seconds to execute the search query (according to Google).
-
#request_url ⇒ Object
readonly
the url with which the request was made of the Google Video service.
-
#start_index ⇒ Object
readonly
the 1-based starting index number of the results in this set.
-
#total_result_count ⇒ Object
readonly
the total number of results in this result set.
-
#videos ⇒ Object
readonly
the list of Video objects comprising the search results.
Method Summary
Methods inherited from Record
Constructor Details
This class inherits a constructor from GoogleVideo::Record
Instance Attribute Details
#end_index ⇒ Object (readonly)
the 1-based ending index number of the results in this set.
384 385 386 |
# File 'lib/google-video.rb', line 384 def end_index @end_index end |
#execution_time ⇒ Object (readonly)
the time taken in seconds to execute the search query (according to Google).
390 391 392 |
# File 'lib/google-video.rb', line 390 def execution_time @execution_time end |
#request_url ⇒ Object (readonly)
the url with which the request was made of the Google Video service.
378 379 380 |
# File 'lib/google-video.rb', line 378 def request_url @request_url end |
#start_index ⇒ Object (readonly)
the 1-based starting index number of the results in this set.
381 382 383 |
# File 'lib/google-video.rb', line 381 def start_index @start_index end |
#total_result_count ⇒ Object (readonly)
the total number of results in this result set.
387 388 389 |
# File 'lib/google-video.rb', line 387 def total_result_count @total_result_count end |
#videos ⇒ Object (readonly)
the list of Video objects comprising the search results.
393 394 395 |
# File 'lib/google-video.rb', line 393 def videos @videos end |