Module: Rhosync::Resource

Defined in:
lib/rhosync/resource.rb

Defined Under Namespace

Modules: Callbacks, ClassMethods, HelperMethods, InstanceMethods

Class Method Summary (collapse)

Class Method Details

+ (Object) included(model)



4
5
6
7
8
9
10
# File 'lib/rhosync/resource.rb', line 4

def self.included(model)
  model.extend(ClassMethods)
  model.extend(HelperMethods)
  
  model.send(:include, InstanceMethods)
  model.send(:include, Callbacks)
end