Class: Couchbase::Collection::GetAndTouchOptions

Inherits:
Couchbase::CommonOptions show all
Defined in:
lib/couchbase/collection_options.rb

Instance Attribute Summary collapse

Attributes inherited from Couchbase::CommonOptions

#client_context, #parent_span, #retry_strategy, #timeout

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ GetAndTouchOptions

Returns a new instance of GetAndTouchOptions.

Yield Parameters:

[View source]

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

def initialize
  @transcoder = JsonTranscoder.new
  yield self if block_given?
end

Instance Attribute Details

#transcoderJsonTranscoder

Returns transcoder used for decoding.

Returns:


77
78
79
# File 'lib/couchbase/collection_options.rb', line 77

def transcoder
  @transcoder
end