Class: Couchbase::Collection::GetReplicaResult
- Defined in:
- lib/couchbase/collection_options.rb
Instance Attribute Summary collapse
-
#is_replica ⇒ Boolean
(also: #replica?)
True if this result came from a replica.
Attributes inherited from GetResult
#cas, #encoded, #error, #expiry, #flags, #id, #transcoder
Method Summary
Methods inherited from GetResult
#content, #expiry_time, #initialize, #success?
Constructor Details
This class inherits a constructor from Couchbase::Collection::GetResult
Instance Attribute Details
#is_replica ⇒ Boolean Also known as: replica?
Returns true if this result came from a replica.
92 93 94 |
# File 'lib/couchbase/collection_options.rb', line 92 def is_replica @is_replica end |