Class: Api::Aoa::V1::BaseController
- Inherits:
-
ActionController::API
- Object
- ActionController::API
- Api::Aoa::V1::BaseController
- Includes:
- ElasticApmContext, LogrageCustomLogger, Pagy::Backend, ResponseCacheConcern
- Defined in:
- app/controllers/api/aoa/v1/base_controller.rb
Direct Known Subclasses
AuthenticationController, CitiesController, CuisinesController, LocationsController, PackageTypesController, ReservationsController, RestaurantPackagesController, RestaurantsController, ReviewsController
Constant Summary collapse
- CACHE_NAMESPACE =
'api_aoa_v1_cache'.freeze
Instance Method Summary collapse
Methods included from LogrageCustomLogger
Methods included from ResponseCacheConcern
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 |