Module: WingedCouch::Models::Hooks

Included in:
WingedCouch::Model
Defined in:
lib/winged_couch/models/hooks.rb

Overview

Module for definining before/after save/delete/update/initialize hooks

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


7
8
9
# File 'lib/winged_couch/models/hooks.rb', line 7

def self.included(klass)
  klass.extend ClassMethods
end