Class: EVSS::PCIUAddress::ResponseStrategy
- Inherits:
-
Common::RedisStore
- Object
- Common::RedisStore
- EVSS::PCIUAddress::ResponseStrategy
- Includes:
- Common::CacheAside
- Defined in:
- lib/evss/pciu_address/response_strategy.rb
Constant Summary
Constants inherited from Common::RedisStore
Common::RedisStore::REQ_CLASS_INSTANCE_VARS
Instance Method Summary collapse
Methods included from Common::CacheAside
#cache, #cached?, #do_cached_with, #set_attributes
Methods inherited from Common::RedisStore
create, delete, #destroy, #destroyed?, exists?, #expire, find, find_or_build, #initialize, #initialize_dup, keys, #persisted?, pop, redis_key, redis_store, redis_ttl, #save, #save!, #ttl, #update, #update!
Constructor Details
This class inherits a constructor from Common::RedisStore
Instance Method Details
#cache_or_service(key) ⇒ Object
13 14 15 |
# File 'lib/evss/pciu_address/response_strategy.rb', line 13 def cache_or_service(key, &) do_cached_with(key:, &) end |