Class: Detour::Group

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Concerns::CustomHumanAttributes
Defined in:
app/models/detour/group.rb

Instance Method Summary collapse

Instance Method Details

#flaggable_classObject



17
18
19
# File 'app/models/detour/group.rb', line 17

def flaggable_class
  flaggable_type.constantize
end

#to_sObject



13
14
15
# File 'app/models/detour/group.rb', line 13

def to_s
  name
end