Class: Stacked::Badge
Instance Attribute Summary collapse
-
#award_count ⇒ Object
Returns the value of attribute award_count.
-
#badge_id ⇒ Object
(also: #id)
Returns the value of attribute badge_id.
-
#class ⇒ Object
Returns the value of attribute class.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
Method Summary
Methods inherited from Base
all, association, collection, find, #initialize, #parse_answers, #parse_badges, #parse_comments, #parse_post_timeline, #parse_questions, #parse_reputations, #parse_tags, #parse_type, #parse_user_timeline, #post, records, request, singular, stats
Constructor Details
This class inherits a constructor from Stacked::Base
Instance Attribute Details
#award_count ⇒ Object
Returns the value of attribute award_count.
3 4 5 |
# File 'lib/stacked/badge.rb', line 3 def award_count @award_count end |
#badge_id ⇒ Object Also known as: id
Returns the value of attribute badge_id.
3 4 5 |
# File 'lib/stacked/badge.rb', line 3 def badge_id @badge_id end |
#class ⇒ Object
Returns the value of attribute class.
3 4 5 |
# File 'lib/stacked/badge.rb', line 3 def class @class end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/stacked/badge.rb', line 3 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/stacked/badge.rb', line 3 def name @name end |