Class: Couchbase::Options::CouchbaseQueue
- Inherits:
-
Object
- Object
- Couchbase::Options::CouchbaseQueue
- Defined in:
- lib/couchbase/options.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/options.rb
Overview
Options for Datastructures::CouchbaseQueue#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)) {|| ... } ⇒ CouchbaseQueue
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)) {|| ... } ⇒ CouchbaseQueue
Creates an instance of options for #initialize
1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 |
# File 'lib/couchbase/options.rb', line 1678 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
1667 1668 1669 |
# File 'lib/couchbase/options.rb', line 1667 def @lookup_in_options end |
#mutate_in_options ⇒ MutateIn
1668 1669 1670 |
# File 'lib/couchbase/options.rb', line 1668 def @mutate_in_options end |
#remove_options ⇒ Remove
1666 1667 1668 |
# File 'lib/couchbase/options.rb', line 1666 def @remove_options end |