Method: Firebolt::Cache#read

Defined in:
lib/firebolt/cache.rb

#read(key_suffix, options = nil) ⇒ Object



19
20
21
22
23
24
# File 'lib/firebolt/cache.rb', line 19

def read(key_suffix, options = nil)
  salted_key = cache_key_with_salt(key_suffix, salt)
  return nil if salted_key.nil?

  ::Firebolt.config.cache.read(salted_key, options)
end