Method: SgtnClient::Core::Cache.initialize
- Defined in:
- lib/sgtn-client/core/cache.rb
.initialize(disabled = false, opts = {}) ⇒ Object
10 11 12 13 14 |
# File 'lib/sgtn-client/core/cache.rb', line 10 def self.initialize(disabled=false, opts={}) @@opts = opts SgtnClient.logger.debug "[Cache][initialize] Disable cache? #{disabled}" @@data = Hash.new end |