Class Wrest::CacheProxy

  1. lib/wrest/cache_proxy.rb
Parent: Object

Methods

public class

  1. new

Public class methods

new (get, cache_store)
[show source]
    # File lib/wrest/cache_proxy.rb, line 5
 5:       def new(get, cache_store)
 6:         if cache_store
 7:           DefaultCacheProxy.new(get, cache_store)
 8:         else
 9:           NullCacheProxy.new(get)
10:         end
11:       end