Module: Resourced::ActiveRecord

Defined in:
lib/resourced/active_record.rb,
lib/resourced/active_record/proxy.rb,
lib/resourced/active_record/actions.rb

Defined Under Namespace

Modules: Actions, ClassMethods, Helpers, Proxy

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



26
27
28
29
30
31
# File 'lib/resourced/active_record.rb', line 26

def self.included(base)
  base.send(:include, Resourced::Resource)
  base.send(:include, Proxy)
  base.send(:include, Actions)
  base.extend ClassMethods
end