Class: Couchbase::Collection::GetAndTouchOptions
- Inherits:
-
Couchbase::CommonOptions
- Object
- Couchbase::CommonOptions
- Couchbase::Collection::GetAndTouchOptions
- Defined in:
- lib/couchbase/collection_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/collection_options.rb more...
Instance Attribute Summary collapse
-
#transcoder ⇒ JsonTranscoder
Transcoder used for decoding.
Attributes inherited from Couchbase::CommonOptions
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ GetAndTouchOptions
constructor
A new instance of GetAndTouchOptions.
Constructor Details
#initialize {|self| ... } ⇒ GetAndTouchOptions
Returns a new instance of GetAndTouchOptions.
84 85 86 87 88 |
# File 'lib/couchbase/collection_options.rb', line 84 def initialize super @transcoder = JsonTranscoder.new yield self if block_given? end |
Instance Attribute Details
#transcoder ⇒ JsonTranscoder
Returns transcoder used for decoding.
81 82 83 |
# File 'lib/couchbase/collection_options.rb', line 81 def transcoder @transcoder end |