Class: Momento::SetResponse

Inherits:
Response show all
Defined in:
lib/momento/set_response.rb

Overview

A response from setting a key.

Instance Method Summary collapse

Methods inherited from Response

#error, #error?, #to_s

Instance Method Details

#success?Boolean

Was the key/value pair added to the cache?

Returns:

  • (Boolean)


8
9
10
# File 'lib/momento/set_response.rb', line 8

def success?
  false
end