Class: BooticCli::Session::NullCacheStore

Inherits:
Object
  • Object
show all
Defined in:
lib/bootic_cli/session.rb

Overview

use a null store instead of the default memory store so in btc console we don’t cache resources forever

Instance Method Summary collapse

Instance Method Details

#delete(key) ⇒ Object



82
83
84
# File 'lib/bootic_cli/session.rb', line 82

def delete(key)
  nil
end

#read(key) ⇒ Object



78
79
80
# File 'lib/bootic_cli/session.rb', line 78

def read(key)
  nil
end

#write(key, value) ⇒ Object



86
87
88
# File 'lib/bootic_cli/session.rb', line 86

def write(key, value)
  value
end