Class: YouTubeG::Response::VideoSearch
- Inherits:
-
YouTubeG::Record
- Object
- YouTubeG::Record
- YouTubeG::Response::VideoSearch
- Defined in:
- lib/youtube_g/response/video_search.rb
Instance Attribute Summary collapse
-
#feed_id ⇒ Object
readonly
- String
-
Unique feed identifying url.
-
#max_result_count ⇒ Object
readonly
- Fixnum
-
Number of results per page.
-
#offset ⇒ Object
readonly
- Fixnum
-
1-based offset index into the full result set.
-
#total_result_count ⇒ Object
readonly
- Fixnum
-
Total number of results available for the original request.
-
#updated_at ⇒ Object
readonly
- Time
-
Date and time at which the feed was last updated.
-
#videos ⇒ Object
readonly
- Array
-
Array of YouTubeG::Model::Video records.
Method Summary
Methods inherited from YouTubeG::Record
Constructor Details
This class inherits a constructor from YouTubeG::Record
Instance Attribute Details
#feed_id ⇒ Object (readonly)
- String
-
Unique feed identifying url.
5 6 7 |
# File 'lib/youtube_g/response/video_search.rb', line 5 def feed_id @feed_id end |
#max_result_count ⇒ Object (readonly)
- Fixnum
-
Number of results per page.
8 9 10 |
# File 'lib/youtube_g/response/video_search.rb', line 8 def max_result_count @max_result_count end |
#offset ⇒ Object (readonly)
- Fixnum
-
1-based offset index into the full result set.
11 12 13 |
# File 'lib/youtube_g/response/video_search.rb', line 11 def offset @offset end |
#total_result_count ⇒ Object (readonly)
- Fixnum
-
Total number of results available for the original request.
14 15 16 |
# File 'lib/youtube_g/response/video_search.rb', line 14 def total_result_count @total_result_count end |
#updated_at ⇒ Object (readonly)
- Time
-
Date and time at which the feed was last updated
17 18 19 |
# File 'lib/youtube_g/response/video_search.rb', line 17 def updated_at @updated_at end |
#videos ⇒ Object (readonly)
- Array
-
Array of YouTubeG::Model::Video records
20 21 22 |
# File 'lib/youtube_g/response/video_search.rb', line 20 def videos @videos end |