Class: Revver4R::Thumbnail

Inherits:
Object
  • Object
show all
Defined in:
lib/revver4r.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url, width, height) ⇒ Thumbnail

Returns a new instance of Thumbnail.



138
139
140
141
142
# File 'lib/revver4r.rb', line 138

def initialize(url, width, height)
  @url = url
  @width = width
  @height = height
end

Instance Attribute Details

#heightObject

Returns the value of attribute height.



137
138
139
# File 'lib/revver4r.rb', line 137

def height
  @height
end

#urlObject

Returns the value of attribute url.



137
138
139
# File 'lib/revver4r.rb', line 137

def url
  @url
end

#widthObject

Returns the value of attribute width.



137
138
139
# File 'lib/revver4r.rb', line 137

def width
  @width
end