Class: Redd::Models::Trophy

Inherits:
Model
  • Object
show all
Defined in:
lib/redd/models/trophy.rb

Overview

A user trophy.

Instance Attribute Summary collapse

Attributes inherited from Model

#client

Method Summary

Methods inherited from Model

#initialize

Constructor Details

This class inherits a constructor from Redd::Models::Model

Instance Attribute Details

#award_idString (readonly)

Returns:

  • (String)

27
# File 'lib/redd/models/trophy.rb', line 27

property :award_id

#descriptionString (readonly)

Returns the trophy description.

Returns:

  • (String)

    the trophy description


31
# File 'lib/redd/models/trophy.rb', line 31

property :description

#icon_40pxString (readonly)

Returns the url for a 40x40 thumbnail icon.

Returns:

  • (String)

    the url for a 40x40 thumbnail icon


15
# File 'lib/redd/models/trophy.rb', line 15

property :icon_40px, from: :icon_40

#icon_70pxString (readonly)

Returns the url for a 70x70 thumbnail icon.

Returns:

  • (String)

    the url for a 70x70 thumbnail icon


11
# File 'lib/redd/models/trophy.rb', line 11

property :icon_70px, from: :icon_70

#idString (readonly)

Returns the trophy id.

Returns:

  • (String)

    the trophy id


23
# File 'lib/redd/models/trophy.rb', line 23

property :id

#nameString (readonly)

Returns the name of the trophy.

Returns:

  • (String)

    the name of the trophy


19
# File 'lib/redd/models/trophy.rb', line 19

property :name