Class: DeadSimpleCMS::Storage::Redis

Inherits:
Base
  • Object
show all
Defined in:
lib/dead_simple_cms/storage/redis.rb

Class Attribute Summary collapse

Attributes inherited from Base

#section

Method Summary

Methods inherited from Base

#initialize, #read, #to_param, #unique_key, #write

Constructor Details

This class inherits a constructor from DeadSimpleCMS::Storage::Base

Class Attribute Details

.connectionObject



6
7
8
# File 'lib/dead_simple_cms/storage/redis.rb', line 6

def connection
  @connection ||= (defined?(REDIS) && REDIS) || raise(NotImplementedError, "Redis connection not set.")
end