Class: GoogleVideo::VideoSearchResponse

Inherits:
Record
  • Object
show all
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

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from GoogleVideo::Record

Instance Attribute Details

#end_indexObject (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_timeObject (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_urlObject (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_indexObject (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_countObject (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

#videosObject (readonly)

the list of Video objects comprising the search results.



393
394
395
# File 'lib/google-video.rb', line 393

def videos
  @videos
end