Class: ApiModel::CacheStrategy::NoCache

Inherits:
Object
  • Object
show all
Defined in:
lib/api_model/cache_stategy/no_cache.rb

Instance Method Summary collapse

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