Class: Detour::Group

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

Instance Method Summary collapse

Instance Method Details

#flaggable_classObject



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

def flaggable_class
  flaggable_type.constantize
end

#to_sObject



10
11
12
# File 'app/models/detour/group.rb', line 10

def to_s
  name
end