Class: Couchbase::Options::CouchbaseQueue
- Inherits:
-
Object
- Object
- Couchbase::Options::CouchbaseQueue
- Defined in:
- lib/couchbase/options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/options.rb more...
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
1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 |
# File 'lib/couchbase/options.rb', line 1442 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
1431 1432 1433 |
# File 'lib/couchbase/options.rb', line 1431 def @lookup_in_options end |
#mutate_in_options ⇒ MutateIn
1432 1433 1434 |
# File 'lib/couchbase/options.rb', line 1432 def @mutate_in_options end |
#remove_options ⇒ Remove
1430 1431 1432 |
# File 'lib/couchbase/options.rb', line 1430 def @remove_options end |