Method: IOPromise::Dalli::Client#get
- Defined in:
- lib/iopromise/dalli/client.rb
#get(key, options = nil) ⇒ Object
Returns a promise that resolves to a IOPromise::Dalli::Response with the value for the given key, or nil
if the key is not found.
23 24 25 |
# File 'lib/iopromise/dalli/client.rb', line 23 def get(key, = nil) execute_as_promise(:get, key, ) end |