Class: Badgeapi::Collection
- Inherits:
-
BadgeapiObject
- Object
- BadgeapiObject
- Badgeapi::Collection
- Defined in:
- lib/badgeapi/collection.rb
Instance Attribute Summary collapse
-
#badge_count ⇒ Object
readonly
Returns the value of attribute badge_count.
-
#badges ⇒ Object
readonly
Returns the value of attribute badges.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#total_points_available ⇒ Object
readonly
Returns the value of attribute total_points_available.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Method Summary
Methods inherited from BadgeapiObject
all, collection_name, create, destroy, find, from_response, #inspect, map_json_to_object, map_related_object, member_name, object_classes, request, #save, update
Instance Attribute Details
#badge_count ⇒ Object (readonly)
Returns the value of attribute badge_count.
6 7 8 |
# File 'lib/badgeapi/collection.rb', line 6 def badge_count @badge_count end |
#badges ⇒ Object (readonly)
Returns the value of attribute badges.
6 7 8 |
# File 'lib/badgeapi/collection.rb', line 6 def badges @badges end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
6 7 8 |
# File 'lib/badgeapi/collection.rb', line 6 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
7 8 9 |
# File 'lib/badgeapi/collection.rb', line 7 def description @description end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/badgeapi/collection.rb', line 6 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/badgeapi/collection.rb', line 7 def name @name end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
6 7 8 |
# File 'lib/badgeapi/collection.rb', line 6 def object @object end |
#total_points_available ⇒ Object (readonly)
Returns the value of attribute total_points_available.
6 7 8 |
# File 'lib/badgeapi/collection.rb', line 6 def total_points_available @total_points_available end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
6 7 8 |
# File 'lib/badgeapi/collection.rb', line 6 def updated_at @updated_at end |