Module: ContentCaching

Defined in:
lib/content_caching.rb,
lib/content_caching/version.rb,
lib/content_caching/wrapper.rb,
lib/content_caching/adapters/fs.rb,
lib/content_caching/adapters/aws.rb,
lib/content_caching/adapters/base.rb,
lib/content_caching/configuration.rb,
lib/content_caching/adapters/abstract.rb,
lib/content_caching/adapters/fs_adapter.rb,
lib/content_caching/adapters/aws_adapter.rb,
lib/content_caching/adapters/implementation.rb

Defined Under Namespace

Modules: Adapter Classes: Configuration, Document, Wrapper

Constant Summary collapse

VERSION =
'0.2.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



18
19
20
# File 'lib/content_caching.rb', line 18

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



26
27
28
# File 'lib/content_caching.rb', line 26

def self.configure
  yield(configuration)
end

.resetObject



22
23
24
# File 'lib/content_caching.rb', line 22

def self.reset
  @configuration = Configuration.new
end