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

Returns true if this result came from a replica.

Returns:

  • (Boolean)

    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