Module: DataMapper::Is::CounterCacheable

Defined in:
lib/dm-is-counter_cacheable/is/counter_cacheable.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Instance Method Summary collapse

Instance Method Details

#is_counter_cacheableObject

Fired when your plugin gets included into a Resource.



7
8
9
10
# File 'lib/dm-is-counter_cacheable/is/counter_cacheable.rb', line 7

def is_counter_cacheable
  extend DataMapper::Is::CounterCacheable::ClassMethods
  include DataMapper::Is::CounterCacheable::InstanceMethods
end