Class: BGS::People::Request

Inherits:
Common::RedisStore show all
Includes:
Common::CacheAside
Defined in:
app/services/bgs/people/request.rb

Constant Summary collapse

REDIS_CONFIG_KEY =
:bgs_find_person_by_participant_id_response

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

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

#find_person_by_participant_id(user:) ⇒ Object



14
15
16
# File 'app/services/bgs/people/request.rb', line 14

def find_person_by_participant_id(user:)
  find_person_by_participant_id_cached_response(user)
end