Class: Gemstar::Web::App
- Inherits:
-
Roda
- Object
- Roda
- Gemstar::Web::App
- Defined in:
- lib/gemstar/web/app.rb
Constant Summary collapse
- MISSING_METADATA =
Object.new
- CACHE_VERSION =
"v6"
Class Method Summary collapse
Class Method Details
.build(projects:, config_home:, cache_warmer: nil) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/gemstar/web/app.rb', line 19 def build(projects:, config_home:, cache_warmer: nil) Class.new(self) do opts[:projects] = projects opts[:config_home] = config_home opts[:cache_warmer] = cache_warmer opts[:change_sections_cache] = {} opts[:detail_html_cache] = {} opts[:detail_request_cache] = {} opts[:metadata_cache] = {} end.freeze.app end |