Class: Ticketmaster::Image
- Inherits:
-
Result
- Object
- Result
- Ticketmaster::Image
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
Instance Method Details
#height ⇒ Object
15
16
17
|
# File 'lib/ticketmaster/results/image.rb', line 15
def height
data['height']
end
|
#is_fallback? ⇒ Boolean
19
20
21
|
# File 'lib/ticketmaster/results/image.rb', line 19
def is_fallback?
data['fallback']
end
|
#ratio ⇒ Object
7
8
9
|
# File 'lib/ticketmaster/results/image.rb', line 7
def ratio
data['ratio']
end
|
#url ⇒ Object
3
4
5
|
# File 'lib/ticketmaster/results/image.rb', line 3
def url
data['url']
end
|
#width ⇒ Object
11
12
13
|
# File 'lib/ticketmaster/results/image.rb', line 11
def width
data['width']
end
|