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, attribute_a_badge_object?, collection_name, create, destroy, find, 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
#badge_count ⇒ Object (readonly)
Returns the value of attribute badge_count.
4 5 6 |
# File 'lib/badgeapi/collection.rb', line 4 def badge_count @badge_count end |
#badges ⇒ Object (readonly)
Returns the value of attribute badges.
4 5 6 |
# File 'lib/badgeapi/collection.rb', line 4 def badges @badges end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/badgeapi/collection.rb', line 4 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/badgeapi/collection.rb', line 5 def description @description end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/badgeapi/collection.rb', line 4 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/badgeapi/collection.rb', line 5 def name @name end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
4 5 6 |
# File 'lib/badgeapi/collection.rb', line 4 def object @object end |
#total_points_available ⇒ Object (readonly)
Returns the value of attribute total_points_available.
4 5 6 |
# File 'lib/badgeapi/collection.rb', line 4 def total_points_available @total_points_available end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
4 5 6 |
# File 'lib/badgeapi/collection.rb', line 4 def updated_at @updated_at end |