Class: YouTubeG::Model::Thumbnail
- Defined in:
- lib/youtube_g/model/thumbnail.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
- Fixnum
-
Height of the thumbnail image.
-
#time ⇒ Object
readonly
- String
-
Specifies the time offset at which the frame shown in the thumbnail image appears in the video.
-
#url ⇒ Object
readonly
- String
-
URL for the thumbnail image.
-
#width ⇒ Object
readonly
- Fixnum
-
Width of the thumbnail image.
Method Summary
Methods inherited from Record
Constructor Details
This class inherits a constructor from YouTubeG::Record
Instance Attribute Details
#height ⇒ Object (readonly)
- Fixnum
-
Height of the thumbnail image.
8 9 10 |
# File 'lib/youtube_g/model/thumbnail.rb', line 8 def height @height end |
#time ⇒ Object (readonly)
- String
-
Specifies the time offset at which the frame shown in the thumbnail image appears in the video.
14 15 16 |
# File 'lib/youtube_g/model/thumbnail.rb', line 14 def time @time end |
#url ⇒ Object (readonly)
- String
-
URL for the thumbnail image.
5 6 7 |
# File 'lib/youtube_g/model/thumbnail.rb', line 5 def url @url end |
#width ⇒ Object (readonly)
- Fixnum
-
Width of the thumbnail image.
11 12 13 |
# File 'lib/youtube_g/model/thumbnail.rb', line 11 def width @width end |