Module: CacheStache
- Defined in:
- lib/cache_stache.rb,
lib/cache_stache/web.rb,
lib/cache_stache/engine.rb,
lib/cache_stache/railtie.rb,
lib/cache_stache/version.rb,
lib/cache_stache/keyspace.rb,
lib/cache_stache/stats_query.rb,
lib/cache_stache/cache_client.rb,
lib/cache_stache/configuration.rb,
lib/cache_stache/window_options.rb,
lib/cache_stache/instrumentation.rb,
app/helpers/cache_stache/application_helper.rb,
lib/cache_stache/rack_after_reply_middleware.rb,
lib/generators/cache_stache/install_generator.rb,
app/controllers/cache_stache/dashboard_controller.rb,
app/controllers/cache_stache/application_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, Generators, Instrumentation, WindowOptions
Classes: ApplicationController, CacheClient, Configuration, DashboardController, Engine, Error, Keyspace, RackAfterReplyMiddleware, Railtie, StatsQuery, Web
Constant Summary
collapse
- VERSION =
"0.2.1"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
20
21
22
|
# File 'lib/cache_stache.rb', line 20
def configuration
@configuration ||= Configuration.new
end
|
Class Method Details
24
25
26
27
|
# File 'lib/cache_stache.rb', line 24
def configure
yield(configuration)
configuration.validate!
end
|
.reset_configuration! ⇒ Object
29
30
31
|
# File 'lib/cache_stache.rb', line 29
def reset_configuration!
@configuration = Configuration.new
end
|