Class: Detour::DefinedGroupFlag
- Includes:
- Concerns::Keepable
- Defined in:
- app/models/detour/defined_group_flag.rb
Overview
A group of flaggable records of a given class may be flagged into a feature with this class.
Instance Method Summary collapse
Methods included from Concerns::Keepable
Instance Method Details
#group ⇒ Object
11 12 13 |
# File 'app/models/detour/defined_group_flag.rb', line 11 def group find_group || build_group end |
#group_type ⇒ Object
15 16 17 |
# File 'app/models/detour/defined_group_flag.rb', line 15 def group_type "defined" end |