Class: Ticketmaster::Image

Inherits:
Result
  • Object
show all
Defined in:
lib/ticketmaster/results/image.rb

Instance Attribute Summary

Attributes inherited from Result

#data, #request

Instance Method Summary collapse

Methods inherited from Result

array, create, #initialize, search

Constructor Details

This class inherits a constructor from Ticketmaster::Result

Instance Method Details

#heightObject



15
16
17
# File 'lib/ticketmaster/results/image.rb', line 15

def height
  data['height']
end

#is_fallback?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/ticketmaster/results/image.rb', line 19

def is_fallback?
  data['fallback']
end

#ratioObject



7
8
9
# File 'lib/ticketmaster/results/image.rb', line 7

def ratio
  data['ratio']
end

#urlObject



3
4
5
# File 'lib/ticketmaster/results/image.rb', line 3

def url
  data['url']
end

#widthObject



11
12
13
# File 'lib/ticketmaster/results/image.rb', line 11

def width
  data['width']
end