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.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#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.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Class Method Summary collapse
Methods inherited from BadgeapiObject
all, attribute_a_badge_object?, collection_name, create, destroy, from_response, handle_api_error, #inspect, map_instant_variables_to_child_records, map_instant_variables_to_record, map_json_to_object, map_related_object, member_name, object_classes, #remove_read_only_params, request, #save, update
Instance Attribute Details
#badges ⇒ Object (readonly)
Returns the value of attribute badges.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def badges @badges end |
#badges_total ⇒ Object (readonly)
Returns the value of attribute badges_total.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def badges_total @badges_total end |
#bronze_count ⇒ Object (readonly)
Returns the value of attribute bronze_count.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def bronze_count @bronze_count end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def created_at @created_at end |
#gold_count ⇒ Object (readonly)
Returns the value of attribute gold_count.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def gold_count @gold_count end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def object @object end |
#platinum_count ⇒ Object (readonly)
Returns the value of attribute platinum_count.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def platinum_count @platinum_count end |
#silver_count ⇒ Object (readonly)
Returns the value of attribute silver_count.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def silver_count @silver_count end |
#total_score ⇒ Object (readonly)
Returns the value of attribute total_score.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def total_score @total_score end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def updated_at @updated_at end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
4 5 6 |
# File 'lib/badgeapi/recipient.rb', line 4 def username @username end |