Class: Osm::Event::BadgeLink
- Includes:
- ActiveAttr::Model, ActiveModel::MassAssignmentSecurity
- Defined in:
- lib/osm/event.rb,
lib/osm/event.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.
Method Summary
Methods inherited from Model
#<, #<=, #<=>, #>, #>=, #between?, #changed_attributes, configure, #reset_changed_attributes, #to_i
Instance Attribute Details
#badge_id ⇒ Fixnum
Returns the badge’s ID in OSM.
604 |
# File 'lib/osm/event.rb', line 604 attribute :badge_type, :type => Object |
#badge_name ⇒ String
Returns the badge’s name.
604 |
# File 'lib/osm/event.rb', line 604 attribute :badge_type, :type => Object |
#badge_section ⇒ Symbol
Returns the section type that the badge belongs to.
604 |
# File 'lib/osm/event.rb', line 604 attribute :badge_type, :type => Object |
#badge_type ⇒ Symbol
Returns the type of badge.
604 |
# File 'lib/osm/event.rb', line 604 attribute :badge_type, :type => Object |
#badge_version ⇒ Fixnum
Returns the version of the badge.
604 |
# File 'lib/osm/event.rb', line 604 attribute :badge_type, :type => Object |
#data ⇒ String
Returns what to put in the column when the badge records are updated.
604 |
# File 'lib/osm/event.rb', line 604 attribute :badge_type, :type => Object |
#requirement_id ⇒ Fixnum
Returns the requirement’s ID in OSM.
604 |
# File 'lib/osm/event.rb', line 604 attribute :badge_type, :type => Object |
#requirement_label ⇒ String
Returns human firendly requirement label.
604 |
# File 'lib/osm/event.rb', line 604 attribute :badge_type, :type => Object |