Module: Inventory::Constants::Restaurants

Defined in:
app/services/inventory/constants/restaurants.rb

Overview

We have to refresh following keys if there is any change in the restaurant level

Constant Summary collapse

RESTAURANT_FIND_DURATIONS_CACHE_KEY_HASH =
"%{namespace}:restaurant_scope:find_durations:%{date}"
RESTAURANT_PACKAGES_BY_START_TIMES_CACHE_KEY_HASH =
"%{namespace}:restaurant_scope:slugs_by_start_times:%{date}"
RESTAURANT_RESERVATION_DURATION_IS_ENOUGHS_CACHE_KEY_HASH =
"%{namespace}:restaurant_scope:res_durations_is_enoughs_by_date:%{date}"
RESTAURANT_FIND_INV_MODEL =
"restaurant_scope:find_inv_model"