Class: AboutYou::SDK::Model::ImageSize
- Inherits:
-
Object
- Object
- AboutYou::SDK::Model::ImageSize
- Defined in:
- lib/AboutYou/Model/image_size.rb
Overview
This class represents the image size of an image
Instance Attribute Summary collapse
-
#height ⇒ Object
Integer height.
-
#width ⇒ Object
Integer width.
Instance Method Summary collapse
-
#initialize(width, height) ⇒ ImageSize
constructor
Constructor for the AboutYou::SDK::Model::ImageSize class.
Constructor Details
#initialize(width, height) ⇒ ImageSize
Constructor for the AboutYou::SDK::Model::ImageSize class
-
Returns :
-
an instance of AboutYou::SDK::Model::ImageSize
-
19 20 21 22 23 24 |
# File 'lib/AboutYou/Model/image_size.rb', line 19 def initialize(width, height) self.width = width self.height = height self end |
Instance Attribute Details
#height ⇒ Object
Integer height
11 12 13 |
# File 'lib/AboutYou/Model/image_size.rb', line 11 def height @height end |
#width ⇒ Object
Integer width
9 10 11 |
# File 'lib/AboutYou/Model/image_size.rb', line 9 def width @width end |