Class: Couchbase::Options::CouchbaseList
- Inherits:
-
Object
- Object
- Couchbase::Options::CouchbaseList
- Defined in:
- lib/couchbase/options.rb,
/code/couchbase-ruby-client/lib/couchbase/options.rb
Overview
Options for Datastructures::CouchbaseList#initialize
Instance Attribute Summary collapse
- #get_options ⇒ Get
- #lookup_in_options ⇒ LookupIn
- #mutate_in_options ⇒ MutateIn
- #remove_options ⇒ Remove
Instance Method Summary collapse
-
#initialize(get_options: Get.new, remove_options: Remove.new, lookup_in_options: LookupIn.new, mutate_in_options: MutateIn.new(store_semantics: :upsert)) {|| ... } ⇒ CouchbaseList
constructor
Creates an instance of options for #initialize.
Constructor Details
#initialize(get_options: Get.new, remove_options: Remove.new, lookup_in_options: LookupIn.new, mutate_in_options: MutateIn.new(store_semantics: :upsert)) {|| ... } ⇒ CouchbaseList
Creates an instance of options for #initialize
1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 |
# File 'lib/couchbase/options.rb', line 1536 def initialize(get_options: Get.new, remove_options: Remove.new, lookup_in_options: LookupIn.new, mutate_in_options: MutateIn.new(store_semantics: :upsert)) @get_options = @remove_options = @lookup_in_options = @mutate_in_options = yield self if block_given? end |
Instance Attribute Details
#lookup_in_options ⇒ LookupIn
1525 1526 1527 |
# File 'lib/couchbase/options.rb', line 1525 def @lookup_in_options end |
#mutate_in_options ⇒ MutateIn
1526 1527 1528 |
# File 'lib/couchbase/options.rb', line 1526 def @mutate_in_options end |
#remove_options ⇒ Remove
1524 1525 1526 |
# File 'lib/couchbase/options.rb', line 1524 def @remove_options end |