code: function(config)
  {
      this.config = config = extend(true, { }, Cache.DefaultConfig, config);
  
      this.setKeyPrefix(config.keyPrefix || '');
  
      if(config.driver)
      {
          var driverFile = pathjs.resolve(pathjs.join(__dirname, config.pluginDirectory, config.driver + '.js'));
          var plugin = require(driverFile);
  
          this.use(new plugin(config[config.driver]));
      }
  }
docs: Module for general caching.
  @module ocbesbn-cache
  @requires extend
  @requires ocbesbn-config
  @requires bluebird
  @requires redis
  @requires node-cache
   
  Warpper class for different kinds of cache back-ends.
  
  In order to pass configuration values directly to the underlying cache back-end, just add a key to
  the configuration named the same as the value of the **driver** property inside the config object.
  
  @memberof module:ocbesbn-cache
  @param {object} config - For a list of possible configuration values see [DefaultConfig]{@link module:ocbesbn-cache.DefaultConfig}.
  @constructor