Class: Wrest::CacheProxy::NullCacheProxy

Inherits:
Object
  • Object
show all
Defined in:
lib/wrest/cache_proxy.rb

Instance Method Summary (collapse)

Constructor Details

- (NullCacheProxy) initialize(get)

Returns a new instance of NullCacheProxy



15
16
17
# File 'lib/wrest/cache_proxy.rb', line 15

def initialize(get)
  @get = get
end

Instance Method Details

- (Object) get



18
19
20
# File 'lib/wrest/cache_proxy.rb', line 18

def get
  @get.invoke_without_cache_check
end