Class: AteTracks::Structures::CoverURLs

Inherits:
Object
  • Object
show all
Defined in:
lib/atetracks/structures.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ CoverURLs

Returns a new instance of CoverURLs.



301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
# File 'lib/atetracks/structures.rb', line 301

def initialize(data)
  return nil if data.nil?
  @original = data['original']
  @original_imgix_url = data['original_imgix_url']
  @static_cropped_imgix_url = data['static_cropped_imgix_url']
  @cropped_imgix_url = data['cropped_imgix_url']
  @sq56 = data['sq56']
  @sq72 = data['sq72']
  @sq100 = data['sq100']
  @sq133 = data['sq133']
  @max133w = data['max133w']
  @max200 = data['max200']
  @sq250 = data['sq250']
  @sq500 = data['sq500']
  @max1024 = data['max1024']
end

Instance Attribute Details

#cropped_imgix_urlObject

Returns the value of attribute cropped_imgix_url.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def cropped_imgix_url
  @cropped_imgix_url
end

#max1024Object

Returns the value of attribute max1024.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def max1024
  @max1024
end

#max133wObject

Returns the value of attribute max133w.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def max133w
  @max133w
end

#max200Object

Returns the value of attribute max200.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def max200
  @max200
end

#originalObject

Returns the value of attribute original.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def original
  @original
end

#original_imgix_urlObject

Returns the value of attribute original_imgix_url.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def original_imgix_url
  @original_imgix_url
end

#sq100Object

Returns the value of attribute sq100.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def sq100
  @sq100
end

#sq133Object

Returns the value of attribute sq133.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def sq133
  @sq133
end

#sq250Object

Returns the value of attribute sq250.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def sq250
  @sq250
end

#sq500Object

Returns the value of attribute sq500.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def sq500
  @sq500
end

#sq56Object

Returns the value of attribute sq56.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def sq56
  @sq56
end

#sq72Object

Returns the value of attribute sq72.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def sq72
  @sq72
end

#static_cropped_imgix_urlObject

Returns the value of attribute static_cropped_imgix_url.



298
299
300
# File 'lib/atetracks/structures.rb', line 298

def static_cropped_imgix_url
  @static_cropped_imgix_url
end