Class: AteTracks::Structures::CoverURLs
- Inherits:
-
Object
- Object
- AteTracks::Structures::CoverURLs
- Defined in:
- lib/atetracks/structures.rb
Instance Attribute Summary collapse
-
#cropped_imgix_url ⇒ Object
Returns the value of attribute cropped_imgix_url.
-
#max1024 ⇒ Object
Returns the value of attribute max1024.
-
#max133w ⇒ Object
Returns the value of attribute max133w.
-
#max200 ⇒ Object
Returns the value of attribute max200.
-
#original ⇒ Object
Returns the value of attribute original.
-
#original_imgix_url ⇒ Object
Returns the value of attribute original_imgix_url.
-
#sq100 ⇒ Object
Returns the value of attribute sq100.
-
#sq133 ⇒ Object
Returns the value of attribute sq133.
-
#sq250 ⇒ Object
Returns the value of attribute sq250.
-
#sq500 ⇒ Object
Returns the value of attribute sq500.
-
#sq56 ⇒ Object
Returns the value of attribute sq56.
-
#sq72 ⇒ Object
Returns the value of attribute sq72.
-
#static_cropped_imgix_url ⇒ Object
Returns the value of attribute static_cropped_imgix_url.
Instance Method Summary collapse
-
#initialize(data) ⇒ CoverURLs
constructor
A new instance of CoverURLs.
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_url ⇒ Object
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 |
#max1024 ⇒ Object
Returns the value of attribute max1024.
298 299 300 |
# File 'lib/atetracks/structures.rb', line 298 def max1024 @max1024 end |
#max133w ⇒ Object
Returns the value of attribute max133w.
298 299 300 |
# File 'lib/atetracks/structures.rb', line 298 def max133w @max133w end |
#max200 ⇒ Object
Returns the value of attribute max200.
298 299 300 |
# File 'lib/atetracks/structures.rb', line 298 def max200 @max200 end |
#original ⇒ Object
Returns the value of attribute original.
298 299 300 |
# File 'lib/atetracks/structures.rb', line 298 def original @original end |
#original_imgix_url ⇒ Object
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 |
#sq100 ⇒ Object
Returns the value of attribute sq100.
298 299 300 |
# File 'lib/atetracks/structures.rb', line 298 def sq100 @sq100 end |
#sq133 ⇒ Object
Returns the value of attribute sq133.
298 299 300 |
# File 'lib/atetracks/structures.rb', line 298 def sq133 @sq133 end |
#sq250 ⇒ Object
Returns the value of attribute sq250.
298 299 300 |
# File 'lib/atetracks/structures.rb', line 298 def sq250 @sq250 end |
#sq500 ⇒ Object
Returns the value of attribute sq500.
298 299 300 |
# File 'lib/atetracks/structures.rb', line 298 def sq500 @sq500 end |
#sq56 ⇒ Object
Returns the value of attribute sq56.
298 299 300 |
# File 'lib/atetracks/structures.rb', line 298 def sq56 @sq56 end |
#sq72 ⇒ Object
Returns the value of attribute sq72.
298 299 300 |
# File 'lib/atetracks/structures.rb', line 298 def sq72 @sq72 end |
#static_cropped_imgix_url ⇒ Object
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 |