Class: Couchbase::Options::CouchbaseSet
- Inherits:
-
Object
- Object
- Couchbase::Options::CouchbaseSet
- Defined in:
- lib/couchbase/options.rb
Overview
Options for Datastructures::CouchbaseSet#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)) {|| ... } ⇒ CouchbaseSet
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)) {|| ... } ⇒ CouchbaseSet
Creates an instance of options for #initialize
1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 |
# File 'lib/couchbase/options.rb', line 1617 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
1606 1607 1608 |
# File 'lib/couchbase/options.rb', line 1606 def @lookup_in_options end |
#mutate_in_options ⇒ MutateIn
1607 1608 1609 |
# File 'lib/couchbase/options.rb', line 1607 def @mutate_in_options end |
#remove_options ⇒ Remove
1605 1606 1607 |
# File 'lib/couchbase/options.rb', line 1605 def @remove_options end |