Class: TicketflyPlus::Objects::ImageDetails

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#heightObject

Returns the value of attribute height.



220
221
222
# File 'lib/ticketfly_plus/objects.rb', line 220

def height
  @height
end

#pathObject

Returns the value of attribute path.



221
222
223
# File 'lib/ticketfly_plus/objects.rb', line 221

def path
  @path
end

#widthObject

Returns the value of attribute width.



222
223
224
# File 'lib/ticketfly_plus/objects.rb', line 222

def width
  @width
end