Class: Momento::CreateCacheResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/momento/response/control/create_cache_response.rb

Overview

A response from creating a cache.

Instance Method Summary collapse

Methods inherited from Response

#error, #error?, #to_s

Instance Method Details

#already_exists?Boolean

Does the cache already exist?

Returns:

  • (Boolean)


9
10
11
# File 'lib/momento/response/control/create_cache_response.rb', line 9

def already_exists?
  false
end

#success?Boolean

Was the cache created?

Returns:

  • (Boolean)


15
16
17
# File 'lib/momento/response/control/create_cache_response.rb', line 15

def success?
  false
end