Module: IWonder::Logging::ActiveRecordMixins

Defined in:
lib/i_wonder/logging/active_record_mixins.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/i_wonder/logging/active_record_mixins.rb', line 5

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

Instance Method Details

#report!(event_sym, options = {}) ⇒ Object



9
10
11
# File 'lib/i_wonder/logging/active_record_mixins.rb', line 9

def report!(event_sym, options = {})
  self.class.report!(event_sym, options)
end