Class: YahooVideo::Thumbnail

Inherits:
Record
  • Object
show all
Defined in:
lib/yahoo-video.rb

Overview

Describes a SearchResult file thumbnail image. Parameters are passed to the constructor as hash key/value pairs.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from YahooVideo::Record

Instance Attribute Details

#heightObject (readonly)

the height of the video thumbnail image in pixels.



112
113
114
# File 'lib/yahoo-video.rb', line 112

def height
  @height
end

#urlObject (readonly)

the url of the video thumbnail image.



106
107
108
# File 'lib/yahoo-video.rb', line 106

def url
  @url
end

#widthObject (readonly)

the width of the video thumbnail image in pixels.



109
110
111
# File 'lib/yahoo-video.rb', line 109

def width
  @width
end