Class: ApiModel::CacheStrategy::NoCache
- Inherits:
-
Object
- Object
- ApiModel::CacheStrategy::NoCache
- Defined in:
- lib/api_model/cache_stategy/no_cache.rb
Instance Method Summary collapse
- #cache(&block) ⇒ Object
-
#initialize(*args) ⇒ NoCache
constructor
A new instance of NoCache.
Constructor Details
#initialize(*args) ⇒ NoCache
Returns a new instance of NoCache.
5 6 |
# File 'lib/api_model/cache_stategy/no_cache.rb', line 5 def initialize(*args) end |
Instance Method Details
#cache(&block) ⇒ Object
8 9 10 |
# File 'lib/api_model/cache_stategy/no_cache.rb', line 8 def cache(&block) yield end |