Class: Osm::Activity::Badge

Inherits:
Object
  • Object
show all
Includes:
ActiveAttr::Model, ActiveModel::MassAssignmentSecurity
Defined in:
lib/osm/activity.rb,
lib/osm/activity.rb

Overview

Class Activity::File

Instance Attribute Summary collapse

Instance Attribute Details

#activity_idFixnum

Returns the activity being done.

Returns:

  • (Fixnum)

    the activity being done



320
# File 'lib/osm/activity.rb', line 320

attribute :activity_id, :type => Integer

#badgeString

Returns short name of the badge.

Returns:

  • (String)

    short name of the badge



320
# File 'lib/osm/activity.rb', line 320

attribute :activity_id, :type => Integer

#labelString

Returns human readable label for the requirement.

Returns:

  • (String)

    human readable label for the requirement



320
# File 'lib/osm/activity.rb', line 320

attribute :activity_id, :type => Integer

#requirementString

Returns OSM reference to this badge requirement.

Returns:

  • (String)

    OSM reference to this badge requirement



320
# File 'lib/osm/activity.rb', line 320

attribute :activity_id, :type => Integer

#section_typeSymbol

Returns the section the badge ‘belongs’ to.

Returns:

  • (Symbol)

    the section the badge ‘belongs’ to



320
# File 'lib/osm/activity.rb', line 320

attribute :activity_id, :type => Integer

#typeSymbol

Returns the type of badge.

Returns:

  • (Symbol)

    the type of badge



320
# File 'lib/osm/activity.rb', line 320

attribute :activity_id, :type => Integer