Module: ContentCaching

Defined in:
lib/content_caching.rb,
lib/content_caching/version.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

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



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

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

Class Method Details

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

Yields:



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

def self.configure
  yield(configuration)
end

.resetObject



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

def self.reset
  @configuration = Configuration.new
end