Class: Googletastic::Thumbnail
- Inherits:
-
Hash
- Object
- Hash
- Googletastic::Thumbnail
- Includes:
- Mixins::Attributes
- Defined in:
- lib/googletastic/thumbnail.rb
Overview
simple value object
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.
Attributes included from Mixins::Attributes
Method Summary
Methods included from Mixins::Attributes
#attribute_names, #has_attribute?, #inspect
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height.
5 6 7 |
# File 'lib/googletastic/thumbnail.rb', line 5 def height @height end |
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/googletastic/thumbnail.rb', line 5 def url @url end |
#width ⇒ Object
Returns the value of attribute width.
5 6 7 |
# File 'lib/googletastic/thumbnail.rb', line 5 def width @width end |