Class: Couchbase::Collection::LookupInOptions
- Inherits:
-
Couchbase::CommonOptions
- Object
- Couchbase::CommonOptions
- Couchbase::Collection::LookupInOptions
- Defined in:
- lib/couchbase/collection_options.rb
Instance Attribute Summary collapse
-
#access_deleted ⇒ Boolean
For internal use only: allows access to deleted documents that are in 'tombstone' form.
-
#transcoder ⇒ JsonTranscoder
Transcoder used for decoding.
Attributes inherited from Couchbase::CommonOptions
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ LookupInOptions
constructor
A new instance of LookupInOptions.
Constructor Details
#initialize {|self| ... } ⇒ LookupInOptions
Returns a new instance of LookupInOptions.
281 282 283 284 |
# File 'lib/couchbase/collection_options.rb', line 281 def initialize @transcoder = JsonTranscoder.new yield self if block_given? end |
Instance Attribute Details
#access_deleted ⇒ Boolean
Returns For internal use only: allows access to deleted documents that are in 'tombstone' form.
275 276 277 |
# File 'lib/couchbase/collection_options.rb', line 275 def access_deleted @access_deleted end |
#transcoder ⇒ JsonTranscoder
Returns transcoder used for decoding.
278 279 280 |
# File 'lib/couchbase/collection_options.rb', line 278 def transcoder @transcoder end |