Class: Badgeapi::Recipient
- Inherits:
-
BadgeapiObject
- Object
- BadgeapiObject
- Badgeapi::Recipient
- Defined in:
- lib/badgeapi/recipient.rb
Instance Attribute Summary collapse
-
#badges ⇒ Object
readonly
Returns the value of attribute badges.
-
#badges_total ⇒ Object
readonly
Returns the value of attribute badges_total.
-
#bronze_count ⇒ Object
readonly
Returns the value of attribute bronze_count.
-
#gold_count ⇒ Object
readonly
Returns the value of attribute gold_count.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#platinum_count ⇒ Object
readonly
Returns the value of attribute platinum_count.
-
#silver_count ⇒ Object
readonly
Returns the value of attribute silver_count.
-
#total_score ⇒ Object
readonly
Returns the value of attribute total_score.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Class Method Summary collapse
Methods inherited from BadgeapiObject
all, collection_name, create, destroy, from_response, #inspect, map_json_to_object, map_related_object, member_name, object_classes, request, #save, update
Instance Attribute Details
#badges ⇒ Object (readonly)
Returns the value of attribute badges.
6 7 8 |
# File 'lib/badgeapi/recipient.rb', line 6 def badges @badges end |
#badges_total ⇒ Object (readonly)
Returns the value of attribute badges_total.
6 7 8 |
# File 'lib/badgeapi/recipient.rb', line 6 def badges_total @badges_total end |
#bronze_count ⇒ Object (readonly)
Returns the value of attribute bronze_count.
6 7 8 |
# File 'lib/badgeapi/recipient.rb', line 6 def bronze_count @bronze_count end |
#gold_count ⇒ Object (readonly)
Returns the value of attribute gold_count.
6 7 8 |
# File 'lib/badgeapi/recipient.rb', line 6 def gold_count @gold_count end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
6 7 8 |
# File 'lib/badgeapi/recipient.rb', line 6 def object @object end |
#platinum_count ⇒ Object (readonly)
Returns the value of attribute platinum_count.
6 7 8 |
# File 'lib/badgeapi/recipient.rb', line 6 def platinum_count @platinum_count end |
#silver_count ⇒ Object (readonly)
Returns the value of attribute silver_count.
6 7 8 |
# File 'lib/badgeapi/recipient.rb', line 6 def silver_count @silver_count end |
#total_score ⇒ Object (readonly)
Returns the value of attribute total_score.
6 7 8 |
# File 'lib/badgeapi/recipient.rb', line 6 def total_score @total_score end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
6 7 8 |
# File 'lib/badgeapi/recipient.rb', line 6 def username @username end |