Class: Couchbase::Collection::GetAndLockOptions
- Inherits:
-
Couchbase::CommonOptions
- Object
- Couchbase::CommonOptions
- Couchbase::Collection::GetAndLockOptions
- 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| ... } ⇒ GetAndLockOptions
constructor
A new instance of GetAndLockOptions.
Constructor Details
#initialize {|self| ... } ⇒ GetAndLockOptions
Returns a new instance of GetAndLockOptions.
72 73 74 75 76 |
# File 'lib/couchbase/collection_options.rb', line 72 def initialize super @transcoder = JsonTranscoder.new yield self if block_given? end |
Instance Attribute Details
#transcoder ⇒ JsonTranscoder
Returns transcoder used for decoding.
69 70 71 |
# File 'lib/couchbase/collection_options.rb', line 69 def transcoder @transcoder end |