Module: Renshuu::Schedulable::ClassMethods
- Defined in:
- lib/renshuu/models/mixins/schedulable.rb
Overview
Module for class methods provided with the mixin.
Instance Method Summary collapse
-
#base_route ⇒ String
Path part used in URL construction.
Instance Method Details
#base_route ⇒ String
Path part used in URL construction.
Defaults to the class name, demodulized and underscored. Override to change behavior.
64 65 66 |
# File 'lib/renshuu/models/mixins/schedulable.rb', line 64 def base_route name.demodulize.underscore end |