Class: Momento::ListCachesResponse
- Defined in:
- lib/momento/list_caches_response.rb
Overview
A response from listing the caches.
Each response is a single page of caches, there may be additional pages. Use Momento::SimpleCacheClient#caches to efficiently get the whole list.
Instance Method Summary collapse
-
#cache_names ⇒ Array?
The names of the caches in this page.
-
#next_token ⇒ String?
A token to fetch the next page.
-
#success? ⇒ Boolean
Did it get a page of caches?.
-
#to_s ⇒ String
Displays the response and the list of cache names.
Methods inherited from Response
Instance Method Details
#cache_names ⇒ Array?
The names of the caches in this page.
17 18 19 |
# File 'lib/momento/list_caches_response.rb', line 17 def cache_names nil end |
#next_token ⇒ String?
A token to fetch the next page. The last page will have a blank token.
24 25 26 |
# File 'lib/momento/list_caches_response.rb', line 24 def next_token nil end |
#success? ⇒ Boolean
Did it get a page of caches?
11 12 13 |
# File 'lib/momento/list_caches_response.rb', line 11 def success? false end |
#to_s ⇒ String
Displays the response and the list of cache names. The list of cache names will be truncated.
|
# File 'lib/momento/list_caches_response.rb', line 28
|