Class: Prestashop::Client::Cache
- Inherits:
-
Object
- Object
- Prestashop::Client::Cache
- Defined in:
- lib/prestashop/client/cache.rb
Instance Method Summary collapse
- #categories_cache ⇒ Object
- #clear_categories_cache ⇒ Object
- #clear_feature_values_cache ⇒ Object
- #clear_features_cache ⇒ Object
- #clear_manufacturers_cache ⇒ Object
- #clear_option_values_cache ⇒ Object
- #clear_options_cache ⇒ Object
- #feature_values_cache ⇒ Object
- #features_cache ⇒ Object
- #manufacturers_cache ⇒ Object
- #option_values_cache ⇒ Object
- #options_cache ⇒ Object
Instance Method Details
#categories_cache ⇒ Object
12 13 14 |
# File 'lib/prestashop/client/cache.rb', line 12 def categories_cache @categories_cache ||= Mapper::Category.cache end |
#clear_categories_cache ⇒ Object
16 17 18 |
# File 'lib/prestashop/client/cache.rb', line 16 def clear_categories_cache @categories_cache = nil end |
#clear_feature_values_cache ⇒ Object
32 33 34 |
# File 'lib/prestashop/client/cache.rb', line 32 def clear_feature_values_cache @feature_values_cache = nil end |
#clear_features_cache ⇒ Object
24 25 26 |
# File 'lib/prestashop/client/cache.rb', line 24 def clear_features_cache @features_cache = nil end |
#clear_manufacturers_cache ⇒ Object
8 9 10 |
# File 'lib/prestashop/client/cache.rb', line 8 def clear_manufacturers_cache @manufacturers_cache = nil end |
#clear_option_values_cache ⇒ Object
48 49 50 |
# File 'lib/prestashop/client/cache.rb', line 48 def clear_option_values_cache @option_values_cache = nil end |
#clear_options_cache ⇒ Object
40 41 42 |
# File 'lib/prestashop/client/cache.rb', line 40 def @options_cache = nil end |
#feature_values_cache ⇒ Object
28 29 30 |
# File 'lib/prestashop/client/cache.rb', line 28 def feature_values_cache @feature_values_cache ||= Mapper::ProductFeatureValue.cache end |
#features_cache ⇒ Object
20 21 22 |
# File 'lib/prestashop/client/cache.rb', line 20 def features_cache @features_cache ||= Mapper::ProductFeature.cache end |
#manufacturers_cache ⇒ Object
4 5 6 |
# File 'lib/prestashop/client/cache.rb', line 4 def manufacturers_cache @manufacturers_cache ||= Mapper::Manufacturer.cache end |
#option_values_cache ⇒ Object
44 45 46 |
# File 'lib/prestashop/client/cache.rb', line 44 def option_values_cache @option_values_cache ||= Mapper::ProductOptionValue.cache end |
#options_cache ⇒ Object
36 37 38 |
# File 'lib/prestashop/client/cache.rb', line 36 def @options_cache ||= Mapper::ProductOption.cache end |