Class: AteTracks::Structures::AvatarURLs
- Inherits:
-
Object
- Object
- AteTracks::Structures::AvatarURLs
- Defined in:
- lib/atetracks/structures.rb
Instance Attribute Summary collapse
-
#animated ⇒ Object
Returns the value of attribute animated.
-
#cropped_imgix_url ⇒ Object
Returns the value of attribute cropped_imgix_url.
-
#discourse ⇒ Object
Returns the value of attribute discourse.
-
#max200 ⇒ Object
Returns the value of attribute max200.
-
#max250w ⇒ Object
Returns the value of attribute max250w.
-
#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.
-
#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) ⇒ AvatarURLs
constructor
A new instance of AvatarURLs.
Constructor Details
#initialize(data) ⇒ AvatarURLs
Returns a new instance of AvatarURLs.
281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/atetracks/structures.rb', line 281 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'] @max200 = data['max200'] @max250w = data['max250w'] @discourse = data['discourse'] @animated = data['animated'] end |
Instance Attribute Details
#animated ⇒ Object
Returns the value of attribute animated.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def animated @animated end |
#cropped_imgix_url ⇒ Object
Returns the value of attribute cropped_imgix_url.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def cropped_imgix_url @cropped_imgix_url end |
#discourse ⇒ Object
Returns the value of attribute discourse.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def discourse @discourse end |
#max200 ⇒ Object
Returns the value of attribute max200.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def max200 @max200 end |
#max250w ⇒ Object
Returns the value of attribute max250w.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def max250w @max250w end |
#original ⇒ Object
Returns the value of attribute original.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def original @original end |
#original_imgix_url ⇒ Object
Returns the value of attribute original_imgix_url.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def original_imgix_url @original_imgix_url end |
#sq100 ⇒ Object
Returns the value of attribute sq100.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def sq100 @sq100 end |
#sq56 ⇒ Object
Returns the value of attribute sq56.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def sq56 @sq56 end |
#sq72 ⇒ Object
Returns the value of attribute sq72.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def sq72 @sq72 end |
#static_cropped_imgix_url ⇒ Object
Returns the value of attribute static_cropped_imgix_url.
278 279 280 |
# File 'lib/atetracks/structures.rb', line 278 def static_cropped_imgix_url @static_cropped_imgix_url end |