Class: YahooVideo::Thumbnail
Overview
Describes a SearchResult file thumbnail image. Parameters are passed to the constructor as hash key/value pairs.
Instance Attribute Summary collapse
-
#height ⇒ Object
readonly
the height of the video thumbnail image in pixels.
-
#url ⇒ Object
readonly
the url of the video thumbnail image.
-
#width ⇒ Object
readonly
the width of the video thumbnail image in pixels.
Method Summary
Methods inherited from Record
Constructor Details
This class inherits a constructor from YahooVideo::Record
Instance Attribute Details
#height ⇒ Object (readonly)
the height of the video thumbnail image in pixels.
112 113 114 |
# File 'lib/yahoo-video.rb', line 112 def height @height end |
#url ⇒ Object (readonly)
the url of the video thumbnail image.
106 107 108 |
# File 'lib/yahoo-video.rb', line 106 def url @url end |
#width ⇒ Object (readonly)
the width of the video thumbnail image in pixels.
109 110 111 |
# File 'lib/yahoo-video.rb', line 109 def width @width end |