Class: TicketflyPlus::Objects::ImageDetails
- Inherits:
-
Object
- Object
- TicketflyPlus::Objects::ImageDetails
- Defined in:
- lib/ticketfly_plus/objects.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#path ⇒ Object
Returns the value of attribute path.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(image_details) ⇒ ImageDetails
constructor
A new instance of ImageDetails.
Constructor Details
#initialize(image_details) ⇒ ImageDetails
Returns a new instance of ImageDetails.
224 225 226 227 228 |
# File 'lib/ticketfly_plus/objects.rb', line 224 def initialize(image_details) @height = image_details['height'] @path = image_details['path'] @width = image_details['width'] end |
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height.
220 221 222 |
# File 'lib/ticketfly_plus/objects.rb', line 220 def height @height end |
#path ⇒ Object
Returns the value of attribute path.
221 222 223 |
# File 'lib/ticketfly_plus/objects.rb', line 221 def path @path end |
#width ⇒ Object
Returns the value of attribute width.
222 223 224 |
# File 'lib/ticketfly_plus/objects.rb', line 222 def width @width end |