Class: Osm::Meeting::BadgeLink
- Inherits:
-
Object
- Object
- Osm::Meeting::BadgeLink
- Includes:
- ActiveAttr::Model, ActiveModel::MassAssignmentSecurity
- Defined in:
- lib/osm/meeting.rb,
lib/osm/meeting.rb
Overview
Ensure the constant exists for the validators
Constant Summary collapse
- SORT_BY =
[:badge_section, :badge_type, :badge_name, :requirement_label]
Instance Attribute Summary collapse
-
#badge_id ⇒ Fixnum
The badge’s ID in OSM.
-
#badge_name ⇒ String
The badge’s name.
-
#badge_section ⇒ Symbol
The section type that the badge belongs to.
-
#badge_type ⇒ Symbol
The type of badge.
-
#badge_version ⇒ Fixnum
The version of the badge.
-
#data ⇒ String
What to put in the column when the badge records are updated.
-
#requirement_id ⇒ Fixnum
The requirement’s ID in OSM.
-
#requirement_label ⇒ String
Human firendly requirement label.
Instance Method Summary collapse
-
#initialize ⇒ Object
constructor
Initialize a new Meeting::Activity.
Constructor Details
#initialize ⇒ Object
Initialize a new Meeting::Activity
|
# File 'lib/osm/meeting.rb', line 417
|
Instance Attribute Details
#badge_id ⇒ Fixnum
Returns the badge’s ID in OSM.
397 |
# File 'lib/osm/meeting.rb', line 397 attribute :badge_type, :type => Object |
#badge_name ⇒ String
Returns the badge’s name.
397 |
# File 'lib/osm/meeting.rb', line 397 attribute :badge_type, :type => Object |
#badge_section ⇒ Symbol
Returns the section type that the badge belongs to.
397 |
# File 'lib/osm/meeting.rb', line 397 attribute :badge_type, :type => Object |
#badge_type ⇒ Symbol
Returns the type of badge.
397 |
# File 'lib/osm/meeting.rb', line 397 attribute :badge_type, :type => Object |
#badge_version ⇒ Fixnum
Returns the version of the badge.
397 |
# File 'lib/osm/meeting.rb', line 397 attribute :badge_type, :type => Object |
#data ⇒ String
Returns what to put in the column when the badge records are updated.
397 |
# File 'lib/osm/meeting.rb', line 397 attribute :badge_type, :type => Object |
#requirement_id ⇒ Fixnum
Returns the requirement’s ID in OSM.
397 |
# File 'lib/osm/meeting.rb', line 397 attribute :badge_type, :type => Object |
#requirement_label ⇒ String
Returns human firendly requirement label.
397 |
# File 'lib/osm/meeting.rb', line 397 attribute :badge_type, :type => Object |