module MatrixSdk::Util::Tinycache::InstanceMethods
Public Instance Methods
tinycache_adapter()
click to toggle source
# File lib/matrix_sdk/util/tinycache.rb, line 34 def tinycache_adapter @tinycache_adapter ||= Tinycache.adapter.new.tap do |adapter| adapter.config = self.class.tinycache_adapter_config if adapter.respond_to? :config= adapter.client = client if respond_to?(:client) && adapter.respond_to?(:client=) end end