Class: AteTracks::Structures::AvatarURLs

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#animatedObject

Returns the value of attribute animated.



278
279
280
# File 'lib/atetracks/structures.rb', line 278

def animated
  @animated
end

#cropped_imgix_urlObject

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

#discourseObject

Returns the value of attribute discourse.



278
279
280
# File 'lib/atetracks/structures.rb', line 278

def discourse
  @discourse
end

#max200Object

Returns the value of attribute max200.



278
279
280
# File 'lib/atetracks/structures.rb', line 278

def max200
  @max200
end

#max250wObject

Returns the value of attribute max250w.



278
279
280
# File 'lib/atetracks/structures.rb', line 278

def max250w
  @max250w
end

#originalObject

Returns the value of attribute original.



278
279
280
# File 'lib/atetracks/structures.rb', line 278

def original
  @original
end

#original_imgix_urlObject

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

#sq100Object

Returns the value of attribute sq100.



278
279
280
# File 'lib/atetracks/structures.rb', line 278

def sq100
  @sq100
end

#sq56Object

Returns the value of attribute sq56.



278
279
280
# File 'lib/atetracks/structures.rb', line 278

def sq56
  @sq56
end

#sq72Object

Returns the value of attribute sq72.



278
279
280
# File 'lib/atetracks/structures.rb', line 278

def sq72
  @sq72
end

#static_cropped_imgix_urlObject

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