Module: Impressionist::CounterCache

Included in:
Impression
Defined in:
lib/impressionist/counter_cache.rb

Instance Attribute Summary collapse

Instance Attribute Details

#entityObject (readonly)

Returns the value of attribute entity.



4
5
6
# File 'lib/impressionist/counter_cache.rb', line 4

def entity
  @entity
end

#impressionable_classObject (readonly)

Returns the value of attribute impressionable_class.



4
5
6
# File 'lib/impressionist/counter_cache.rb', line 4

def impressionable_class
  @impressionable_class
end