Class: Couchbase::Collection::LookupInOptions
- Inherits:
-
Couchbase::CommonOptions
- Object
- Couchbase::CommonOptions
- Couchbase::Collection::LookupInOptions
- Defined in:
- lib/couchbase/collection_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/collection_options.rb more...
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.
310 311 312 313 314 |
# File 'lib/couchbase/collection_options.rb', line 310 def initialize super @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.
304 305 306 |
# File 'lib/couchbase/collection_options.rb', line 304 def access_deleted @access_deleted end |
#transcoder ⇒ JsonTranscoder
Returns transcoder used for decoding.
307 308 309 |
# File 'lib/couchbase/collection_options.rb', line 307 def transcoder @transcoder end |