Method: Firebolt::Cache#delete

Defined in:
lib/firebolt/cache.rb

#delete(key_suffix, options = nil) ⇒ Object



5
6
7
8
9
10
# File 'lib/firebolt/cache.rb', line 5

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

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