Methods
- C
- S
Instance Public methods
cached_serialized_config() Link
Source: show
# File app/controllers/concerns/v2/caches_site_configuration.rb, line 4 def cached_serialized_config Rails.cache.fetch(site_config_cache_key) { serialized_config } end
construct_site_config_cache_key(strict: false) Link
Source: show
# File app/controllers/concerns/v2/caches_site_configuration.rb, line 16 def construct_site_config_cache_key(strict: false) [ ( strict ? ENV.fetch("SITE_CONFIG_CACHE_KEY") : ENV["SITE_CONFIG_CACHE_KEY"] ), self.class.name.underscore, current_site.cache_key_with_version, Stripe.api_version ] end