Class: YouTubeG::Model::Thumbnail

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from YouTubeG::Record

Instance Attribute Details

#heightObject (readonly)

Returns the value of attribute height.



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

def height
  @height
end

#timeObject (readonly)

Returns the value of attribute time.



7
8
9
# File 'lib/youtube_g/model/thumbnail.rb', line 7

def time
  @time
end

#urlObject (readonly)

Returns the value of attribute url.



4
5
6
# File 'lib/youtube_g/model/thumbnail.rb', line 4

def url
  @url
end

#widthObject (readonly)

Returns the value of attribute width.



6
7
8
# File 'lib/youtube_g/model/thumbnail.rb', line 6

def width
  @width
end