Class: EVSS::IntentToFile::ResponseStrategy
- Inherits:
-
Common::RedisStore
- Object
- Common::RedisStore
- EVSS::IntentToFile::ResponseStrategy
- Includes:
- Common::CacheAside
- Defined in:
- lib/evss/intent_to_file/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(user_uuid, type) ⇒ Object
12 13 14 |
# File 'lib/evss/intent_to_file/response_strategy.rb', line 12 def cache_or_service(user_uuid, type, &) do_cached_with(key: "#{user_uuid}:#{type}", &) end |