Class: Couchbase::Options::CouchbaseMap
- Inherits:
-
Object
- Object
- Couchbase::Options::CouchbaseMap
- Defined in:
- lib/couchbase/options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/options.rb more...
Overview
Options for Datastructures::CouchbaseMap#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)) {|| ... } ⇒ CouchbaseMap
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)) {|| ... } ⇒ CouchbaseMap
Creates an instance of options for #initialize
1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 |
# File 'lib/couchbase/options.rb', line 1039 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
1028 1029 1030 |
# File 'lib/couchbase/options.rb', line 1028 def @lookup_in_options end |
#mutate_in_options ⇒ MutateIn
1029 1030 1031 |
# File 'lib/couchbase/options.rb', line 1029 def @mutate_in_options end |
#remove_options ⇒ Remove
1027 1028 1029 |
# File 'lib/couchbase/options.rb', line 1027 def @remove_options end |