Method: Pod4::NebulousInterface#clearing_cache
- Defined in:
- lib/pod4/nebulous_interface.rb
#clearing_cache ⇒ Object
Bonus method: chain this method before a CRUDL method to clear the cache for that parameter string:
@interface.clearing_cache.read(14)
Note that there is no guarantee that the request that clears the cache is actually the one you chain after (if multiple model instances are running against the same interface instance) but for the instance that calls clearing_cache, this is not important.
299 300 301 302 |
# File 'lib/pod4/nebulous_interface.rb', line 299 def clearing_cache @clear_cache = true self end |