Module: RestCore::DalliExtension

Defined in:
lib/rest-core/util/dalli_extension.rb

Instance Method Summary collapse

Instance Method Details

#[](*args) ⇒ Object



4
5
6
# File 'lib/rest-core/util/dalli_extension.rb', line 4

def [] *args
  get(*args)
end

#[]=(*args) ⇒ Object



8
9
10
# File 'lib/rest-core/util/dalli_extension.rb', line 8

def []= *args
  set(*args)
end

#store(key, value, expires_in: nil) ⇒ Object



12
13
14
# File 'lib/rest-core/util/dalli_extension.rb', line 12

def store key, value, expires_in: nil
  set(key, value, expires_in)
end