Class: TicketflyPlus::Objects::Image
- Inherits:
-
Object
- Object
- TicketflyPlus::Objects::Image
- Defined in:
- lib/ticketfly_plus/objects.rb
Instance Attribute Summary collapse
-
#jumbo ⇒ Object
Returns the value of attribute jumbo.
-
#jumbo1 ⇒ Object
Returns the value of attribute jumbo1.
-
#large ⇒ Object
Returns the value of attribute large.
-
#large1 ⇒ Object
Returns the value of attribute large1.
-
#medium ⇒ Object
Returns the value of attribute medium.
-
#medium1 ⇒ Object
Returns the value of attribute medium1.
-
#original ⇒ Object
Returns the value of attribute original.
-
#small ⇒ Object
Returns the value of attribute small.
-
#small1 ⇒ Object
Returns the value of attribute small1.
-
#square ⇒ Object
Returns the value of attribute square.
-
#squareSmall ⇒ Object
Returns the value of attribute squareSmall.
-
#xlarge ⇒ Object
Returns the value of attribute xlarge.
-
#xlarge1 ⇒ Object
Returns the value of attribute xlarge1.
-
#xxlarge ⇒ Object
Returns the value of attribute xxlarge.
-
#xxlarge1 ⇒ Object
Returns the value of attribute xxlarge1.
Instance Method Summary collapse
-
#initialize(image) ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize(image) ⇒ Image
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File 'lib/ticketfly_plus/objects.rb', line 248 def initialize(image) @jumbo = check_nil(image['jumbo']) @jumbo1 = check_nil(image['jumbo1']) @large = check_nil(image['large']) @large1 = check_nil(image['large1']) @medium = check_nil(image['medium']) @medium1 = check_nil(image['medium1']) @original = check_nil(image['original']) @small = check_nil(image['small']) @small1 = check_nil(image['small1']) @square = check_nil(image['square']) @squareSmall = check_nil(image['squareSmall']) @xlarge = check_nil(image['xlarge']) @xlarge1 = check_nil(image['xlarge1']) @xxlarge = check_nil(image['xxlarge']) @xxlarge1 = check_nil(image['xxlarge1']) end |
Instance Attribute Details
#jumbo ⇒ Object
Returns the value of attribute jumbo.
232 233 234 |
# File 'lib/ticketfly_plus/objects.rb', line 232 def jumbo @jumbo end |
#jumbo1 ⇒ Object
Returns the value of attribute jumbo1.
233 234 235 |
# File 'lib/ticketfly_plus/objects.rb', line 233 def jumbo1 @jumbo1 end |
#large ⇒ Object
Returns the value of attribute large.
234 235 236 |
# File 'lib/ticketfly_plus/objects.rb', line 234 def large @large end |
#large1 ⇒ Object
Returns the value of attribute large1.
235 236 237 |
# File 'lib/ticketfly_plus/objects.rb', line 235 def large1 @large1 end |
#medium ⇒ Object
Returns the value of attribute medium.
236 237 238 |
# File 'lib/ticketfly_plus/objects.rb', line 236 def medium @medium end |
#medium1 ⇒ Object
Returns the value of attribute medium1.
237 238 239 |
# File 'lib/ticketfly_plus/objects.rb', line 237 def medium1 @medium1 end |
#original ⇒ Object
Returns the value of attribute original.
238 239 240 |
# File 'lib/ticketfly_plus/objects.rb', line 238 def original @original end |
#small ⇒ Object
Returns the value of attribute small.
239 240 241 |
# File 'lib/ticketfly_plus/objects.rb', line 239 def small @small end |
#small1 ⇒ Object
Returns the value of attribute small1.
240 241 242 |
# File 'lib/ticketfly_plus/objects.rb', line 240 def small1 @small1 end |
#square ⇒ Object
Returns the value of attribute square.
241 242 243 |
# File 'lib/ticketfly_plus/objects.rb', line 241 def square @square end |
#squareSmall ⇒ Object
Returns the value of attribute squareSmall.
242 243 244 |
# File 'lib/ticketfly_plus/objects.rb', line 242 def squareSmall @squareSmall end |
#xlarge ⇒ Object
Returns the value of attribute xlarge.
243 244 245 |
# File 'lib/ticketfly_plus/objects.rb', line 243 def xlarge @xlarge end |
#xlarge1 ⇒ Object
Returns the value of attribute xlarge1.
244 245 246 |
# File 'lib/ticketfly_plus/objects.rb', line 244 def xlarge1 @xlarge1 end |
#xxlarge ⇒ Object
Returns the value of attribute xxlarge.
245 246 247 |
# File 'lib/ticketfly_plus/objects.rb', line 245 def xxlarge @xxlarge end |
#xxlarge1 ⇒ Object
Returns the value of attribute xxlarge1.
246 247 248 |
# File 'lib/ticketfly_plus/objects.rb', line 246 def xxlarge1 @xxlarge1 end |