Class: Googletastic::Thumbnail

Inherits:
Hash
  • Object
show all
Includes:
Mixins::Attributes
Defined in:
lib/googletastic/thumbnail.rb

Overview

simple value object

Instance Attribute Summary collapse

Attributes included from Mixins::Attributes

#attributes

Method Summary

Methods included from Mixins::Attributes

#attribute_names, #has_attribute?, #inspect

Instance Attribute Details

#heightObject

Returns the value of attribute height.



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

def height
  @height
end

#urlObject

Returns the value of attribute url.



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

def url
  @url
end

#widthObject

Returns the value of attribute width.



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

def width
  @width
end