Class: Couchbase::Options::Append
- Defined in:
- lib/couchbase/options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/options.rb more...
Overview
Options for BinaryCollection#append
Instance Attribute Summary collapse
Attributes inherited from Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(cas: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ Append
constructor
Creates an instance of options for BinaryCollection#append.
Constructor Details
#initialize(cas: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ Append
Creates an instance of options for BinaryCollection#append
797 798 799 800 801 802 803 804 805 |
# File 'lib/couchbase/options.rb', line 797 def initialize(cas: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) super(timeout: timeout, retry_strategy: retry_strategy, client_context: client_context, parent_span: parent_span) @cas = cas yield self if block_given? end |
Instance Attribute Details
#cas ⇒ Integer
785 786 787 |
# File 'lib/couchbase/options.rb', line 785 def cas @cas end |