Class: Badgeapi::Collection

Inherits:
BadgeapiObject show all
Defined in:
lib/badgeapi/collection.rb

Instance Attribute Summary collapse

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_countObject (readonly)

Returns the value of attribute badge_count.



6
7
8
# File 'lib/badgeapi/collection.rb', line 6

def badge_count
  @badge_count
end

#badgesObject (readonly)

Returns the value of attribute badges.



6
7
8
# File 'lib/badgeapi/collection.rb', line 6

def badges
  @badges
end

#created_atObject (readonly)

Returns the value of attribute created_at.



6
7
8
# File 'lib/badgeapi/collection.rb', line 6

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



7
8
9
# File 'lib/badgeapi/collection.rb', line 7

def description
  @description
end

#idObject (readonly)

Returns the value of attribute id.



6
7
8
# File 'lib/badgeapi/collection.rb', line 6

def id
  @id
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/badgeapi/collection.rb', line 7

def name
  @name
end

#objectObject (readonly)

Returns the value of attribute object.



6
7
8
# File 'lib/badgeapi/collection.rb', line 6

def object
  @object
end

#total_points_availableObject (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_atObject (readonly)

Returns the value of attribute updated_at.



6
7
8
# File 'lib/badgeapi/collection.rb', line 6

def updated_at
  @updated_at
end