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



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

def flaggable_class
  flaggable_type.constantize
end

#to_sObject



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

def to_s
  name
end