Class: Couchbase::Datastructures::CouchbaseMapOptions
- Inherits:
-
Object
- Object
- Couchbase::Datastructures::CouchbaseMapOptions
- Defined in:
- lib/couchbase/datastructures/couchbase_map.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/datastructures/couchbase_map.rb more...
Instance Attribute Summary collapse
-
#get_options ⇒ Object
Returns the value of attribute get_options.
-
#lookup_in_options ⇒ Object
Returns the value of attribute lookup_in_options.
-
#mutate_in_options ⇒ Object
Returns the value of attribute mutate_in_options.
-
#remove_options ⇒ Object
Returns the value of attribute remove_options.
Instance Method Summary collapse
-
#initialize ⇒ CouchbaseMapOptions
constructor
A new instance of CouchbaseMapOptions.
Constructor Details
#initialize ⇒ CouchbaseMapOptions
Returns a new instance of CouchbaseMapOptions.
196 197 198 199 200 201 202 |
# File 'lib/couchbase/datastructures/couchbase_map.rb', line 196 def initialize @get_options = Collection::GetOptions.new @remove_options = Collection::RemoveOptions.new @lookup_in_options = Collection::LookupInOptions.new @mutate_in_options = Collection::MutateInOptions.new @mutate_in_options.store_semantics = :upsert end |
Instance Attribute Details
#get_options ⇒ Object
Returns the value of attribute get_options.
191 192 193 |
# File 'lib/couchbase/datastructures/couchbase_map.rb', line 191 def @get_options end |
#lookup_in_options ⇒ Object
Returns the value of attribute lookup_in_options.
192 193 194 |
# File 'lib/couchbase/datastructures/couchbase_map.rb', line 192 def @lookup_in_options end |
#mutate_in_options ⇒ Object
Returns the value of attribute mutate_in_options.
193 194 195 |
# File 'lib/couchbase/datastructures/couchbase_map.rb', line 193 def @mutate_in_options end |
#remove_options ⇒ Object
Returns the value of attribute remove_options.
194 195 196 |
# File 'lib/couchbase/datastructures/couchbase_map.rb', line 194 def @remove_options end |