Class: YouTubeIt::Model::Thumbnail

Inherits:
Record
  • Object
show all
Defined in:
lib/youtube_it/model/thumbnail.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from YouTubeIt::Record

Instance Attribute Details

#heightObject (readonly)

Fixnum

Height of the thumbnail image.



8
9
10
# File 'lib/youtube_it/model/thumbnail.rb', line 8

def height
  @height
end

#timeObject (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_it/model/thumbnail.rb', line 14

def time
  @time
end

#urlObject (readonly)

String

URL for the thumbnail image.



5
6
7
# File 'lib/youtube_it/model/thumbnail.rb', line 5

def url
  @url
end

#widthObject (readonly)

Fixnum

Width of the thumbnail image.



11
12
13
# File 'lib/youtube_it/model/thumbnail.rb', line 11

def width
  @width
end