Class: Osm::Activity::Badge
- Inherits:
-
Object
- Object
- Osm::Activity::Badge
- Includes:
- ActiveAttr::Model, ActiveModel::MassAssignmentSecurity
- Defined in:
- lib/osm/activity.rb,
lib/osm/activity.rb
Overview
Class Activity::File
Instance Attribute Summary collapse
-
#activity_id ⇒ Fixnum
The activity being done.
-
#badge ⇒ String
Short name of the badge.
-
#label ⇒ String
Human readable label for the requirement.
-
#requirement ⇒ String
OSM reference to this badge requirement.
-
#section_type ⇒ Symbol
The section the badge ‘belongs’ to.
-
#type ⇒ Symbol
The type of badge.
Instance Attribute Details
#activity_id ⇒ Fixnum
Returns the activity being done.
320 |
# File 'lib/osm/activity.rb', line 320 attribute :activity_id, :type => Integer |
#badge ⇒ String
Returns short name of the badge.
320 |
# File 'lib/osm/activity.rb', line 320 attribute :activity_id, :type => Integer |
#label ⇒ String
Returns human readable label for the requirement.
320 |
# File 'lib/osm/activity.rb', line 320 attribute :activity_id, :type => Integer |
#requirement ⇒ String
Returns OSM reference to this badge requirement.
320 |
# File 'lib/osm/activity.rb', line 320 attribute :activity_id, :type => Integer |
#section_type ⇒ Symbol
Returns the section the badge ‘belongs’ to.
320 |
# File 'lib/osm/activity.rb', line 320 attribute :activity_id, :type => Integer |
#type ⇒ Symbol
Returns the type of badge.
320 |
# File 'lib/osm/activity.rb', line 320 attribute :activity_id, :type => Integer |