Class: Couchbase::BinaryCollection::PrependOptions

Inherits:
CommonOptions
  • Object
show all
Defined in:
lib/couchbase/binary_collection_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/binary_collection_options.rb
more...

Instance Attribute Summary collapse

Attributes inherited from CommonOptions

#client_context, #parent_span, #retry_strategy, #timeout

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of PrependOptions.

Yield Parameters:

[View source]

35
36
37
38
# File 'lib/couchbase/binary_collection_options.rb', line 35

def initialize
  super
  yield self if block_given?
end

Instance Attribute Details

#casInteger

Returns The default CAS used (0 means no CAS in this context).

Returns:

  • (Integer)

    The default CAS used (0 means no CAS in this context)


32
33
34
# File 'lib/couchbase/binary_collection_options.rb', line 32

def cas
  @cas
end