Sha256: 0df6be83c53eb5156fe97bac566e18f42920f9228ae5b7cbf0ba6320a2cf55f7
Contents?: true
Size: 686 Bytes
Versions: 5
Compression:
Stored size: 686 Bytes
Contents
module RailsConnector class CmsBackend def self.current @current ||= begin RailsConnector::Configuration.content_service ? ServiceCmsBackend.new : DynamoCmsBackend.new end end def self.begin_caching current.begin_caching end def self.end_caching current.end_caching end def self.find_obj_data_by(workspace_data, index, keys) current.find_obj_data_by(workspace_data, index, keys) end def self.find_workspace_data_by_id(id) current.find_workspace_data_by_id(id) end def self.caching? current.caching? end def self.query_counter current.query_counter end end end
Version data entries
5 entries across 5 versions & 1 rubygems