Class: RBVIMEO::Thumbnail
- Inherits:
-
Object
- Object
- RBVIMEO::Thumbnail
- Defined in:
- lib/rbvimeo/thumbnail.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#url ⇒ Object
Returns the value of attribute url.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(url, width, height) ⇒ Thumbnail
constructor
A new instance of Thumbnail.
Constructor Details
#initialize(url, width, height) ⇒ Thumbnail
Returns a new instance of Thumbnail.
4 5 6 7 8 |
# File 'lib/rbvimeo/thumbnail.rb', line 4 def initialize(url, width, height) @url = url @width = width @height = height end |
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height.
3 4 5 |
# File 'lib/rbvimeo/thumbnail.rb', line 3 def height @height end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/rbvimeo/thumbnail.rb', line 3 def url @url end |
#width ⇒ Object
Returns the value of attribute width.
3 4 5 |
# File 'lib/rbvimeo/thumbnail.rb', line 3 def width @width end |