Class: Api::Aoa::V1::BaseController

Inherits:
ActionController::API
  • Object
show all
Includes:
ElasticApmContext, LogrageCustomLogger, Pagy::Backend, ResponseCacheConcern
Defined in:
app/controllers/api/aoa/v1/base_controller.rb

Constant Summary collapse

CACHE_NAMESPACE =
'api_aoa_v1_cache'.freeze

Instance Method Summary collapse

Methods included from LogrageCustomLogger

#append_info_to_payload

Methods included from ResponseCacheConcern

#my_response_cache

Instance Method Details

#identity_cache_memoization(&block) ⇒ Object



12
13
14
# File 'app/controllers/api/aoa/v1/base_controller.rb', line 12

def identity_cache_memoization(&block)
  IdentityCache.cache.with_memoization(&block)
end