Module: HasData

Defined in:
lib/daily/has_data.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(model) ⇒ Object



2
3
4
5
# File 'lib/daily/has_data.rb', line 2

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