Class: Concord::JavaProxyCacher

Inherits:
Cacher
  • Object
show all
Defined in:
lib/concord/java_proxy_cacher.rb

Instance Attribute Summary

Attributes inherited from Cacher

#errors, #main_resource

Instance Method Summary collapse

Methods inherited from Cacher

#cache

Methods included from Helper

#write_property_map

Constructor Details

#initialize(opts = {}) ⇒ JavaProxyCacher

Returns a new instance of JavaProxyCacher.



7
8
9
10
11
12
13
# File 'lib/concord/java_proxy_cacher.rb', line 7

def initialize(opts = {})
  ::Concord::Resource.create_map = true
  ::Concord::Resource.cache_headers = true
  ::Concord::Resource.rewrite_urls = false
  ::Concord::Resource.filename_generator = ::Concord::FilenameGenerators::JavaProxyGenerator
  super
end