Class: Couchbase::Collection::GetReplicaResult

Inherits:
GetResult
  • Object
show all
Defined in:
lib/couchbase/collection_options.rb

Instance Attribute Summary collapse

Attributes inherited from GetResult

#cas, #error, #expiry, #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_replicaBoolean Also known as: replica?

Returns true if this result came from a replica.

Returns:

  • (Boolean)

    true if this result came from a replica



82
83
84
# File 'lib/couchbase/collection_options.rb', line 82

def is_replica
  @is_replica
end