Class: InfoparkComponentCache::CmsStateGuard Abstract

Inherits:
ConsistencyGuard show all
Defined in:
lib/infopark_component_cache/guards/cms_state_guard.rb

Overview

This class is abstract.

This abstract class enables the implementing classes to access the cms and read the current state.

It also provides the option to limit the object classes used for lookup.

Author:

Class Attribute Summary collapse

Attributes inherited from ConsistencyGuard

#component, #options

Method Summary

Methods inherited from ConsistencyGuard

#cache, #consistent?, #guard!, #initialize

Constructor Details

This class inherits a constructor from InfoparkComponentCache::ConsistencyGuard

Class Attribute Details

.obj_root_classObject

This parameter should be initialized to the root Obj class of the project



16
17
18
# File 'lib/infopark_component_cache/guards/cms_state_guard.rb', line 16

def obj_root_class
  @obj_root_class
end