Class: AridCache::CacheProxy::Result
- Inherits:
-
Struct
- Object
- Struct
- AridCache::CacheProxy::Result
- Defined in:
- lib/arid_cache/cache_proxy.rb
Overview
AridCache::CacheProxy::Result
This struct is stored in the cache and stores information we need to re-query for results.
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#ids ⇒ Object
Returns the value of attribute ids.
-
#klass ⇒ Object
Returns the value of attribute klass.
Instance Method Summary collapse
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count
9 10 11 |
# File 'lib/arid_cache/cache_proxy.rb', line 9 def count @count end |
#ids ⇒ Object
Returns the value of attribute ids
9 10 11 |
# File 'lib/arid_cache/cache_proxy.rb', line 9 def ids @ids end |
#klass ⇒ Object
Returns the value of attribute klass
9 10 11 |
# File 'lib/arid_cache/cache_proxy.rb', line 9 def klass @klass end |
Instance Method Details
#has_count? ⇒ Boolean
11 12 13 |
# File 'lib/arid_cache/cache_proxy.rb', line 11 def has_count? !count.nil? end |
#has_ids? ⇒ Boolean
15 16 17 |
# File 'lib/arid_cache/cache_proxy.rb', line 15 def has_ids? !ids.nil? end |