Class: Locomotive::Steam::NoCacheService
- Inherits:
-
Object
- Object
- Locomotive::Steam::NoCacheService
- Defined in:
- lib/locomotive/steam/services/no_cache_service.rb
Instance Method Summary collapse
Instance Method Details
#fetch(key, options = {}, &block) ⇒ Object
6 7 8 |
# File 'lib/locomotive/steam/services/no_cache_service.rb', line 6 def fetch(key, = {}, &block) @last_response = block.call end |
#read(key) ⇒ Object
10 11 12 |
# File 'lib/locomotive/steam/services/no_cache_service.rb', line 10 def read(key) nil end |