Method: HTTParty::Icebox::Store::MemoryStore#set

Defined in:
lib/imdb_party/httparty_icebox.rb

#set(key, value) ⇒ Object



176
177
178
179
# File 'lib/imdb_party/httparty_icebox.rb', line 176

def set(key, value)
  Cache.logger.info("Cache: set (#{key})")
  @store[key] = [Time.now, value]; true
end