Class: Couchbase::Datastructures::CouchbaseListOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/datastructures/couchbase_list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCouchbaseListOptions

Returns a new instance of CouchbaseListOptions.

[View source]

162
163
164
165
166
167
168
# File 'lib/couchbase/datastructures/couchbase_list.rb', line 162

def initialize
  @get_options = Collection::GetOptions.new
  @remove_options = Collection::RemoveOptions.new
  @lookup_in_options = Collection::LookupInOptions.new
  @mutate_in_options = Collection::MutateInOptions.new
  @mutate_in_options.store_semantics = :upsert
end

Instance Attribute Details

#get_optionsObject

Returns the value of attribute get_options.


157
158
159
# File 'lib/couchbase/datastructures/couchbase_list.rb', line 157

def get_options
  @get_options
end

#lookup_in_optionsObject

Returns the value of attribute lookup_in_options.


158
159
160
# File 'lib/couchbase/datastructures/couchbase_list.rb', line 158

def lookup_in_options
  @lookup_in_options
end

#mutate_in_optionsObject

Returns the value of attribute mutate_in_options.


159
160
161
# File 'lib/couchbase/datastructures/couchbase_list.rb', line 159

def mutate_in_options
  @mutate_in_options
end

#remove_optionsObject

Returns the value of attribute remove_options.


160
161
162
# File 'lib/couchbase/datastructures/couchbase_list.rb', line 160

def remove_options
  @remove_options
end