module RailsConnector class CmsBackend def self.current @current ||= DynamoCmsBackend.new # ServiceCmsBackend.new end def self.begin_caching current.begin_caching end def self.end_caching current.end_caching end def self.find_obj_data_by(workspace, index, keys) current.find_obj_data_by(workspace, index, keys) end def self.caching? current.caching? end end end