Class: Badgeapi::Collection

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

Instance Attribute Summary collapse

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

Returns the value of attribute badge_count.



4
5
6
# File 'lib/badgeapi/collection.rb', line 4

def badge_count
  @badge_count
end

#badgesObject (readonly)

Returns the value of attribute badges.



4
5
6
# File 'lib/badgeapi/collection.rb', line 4

def badges
  @badges
end

#created_atObject (readonly)

Returns the value of attribute created_at.



4
5
6
# File 'lib/badgeapi/collection.rb', line 4

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#idObject (readonly)

Returns the value of attribute id.



4
5
6
# File 'lib/badgeapi/collection.rb', line 4

def id
  @id
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#objectObject (readonly)

Returns the value of attribute object.



4
5
6
# File 'lib/badgeapi/collection.rb', line 4

def object
  @object
end

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

Returns the value of attribute updated_at.



4
5
6
# File 'lib/badgeapi/collection.rb', line 4

def updated_at
  @updated_at
end