Clears the cache for the object
Parameters:
the cache key
Returns:
whether the cache was cleared
281 282 283
# File 'lib/barley/serializer.rb', line 281 def clear_cache(key: cache_base_key) Barley::Cache.delete(key) end