Module: SwitchPoint::Model
- Defined in:
- lib/switch_point/model.rb
Defined Under Namespace
Modules: ClassMethods, ConnectionHook
Class Method Summary collapse
Class Method Details
.included(model) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/switch_point/model.rb', line 5 def self.included(model) model.singleton_class.class_eval do include ClassMethods prepend ConnectionHook end end |