Class: Couchbase::Datastructures::CouchbaseSetOptions
- Inherits:
-
Object
- Object
- Couchbase::Datastructures::CouchbaseSetOptions
- Defined in:
- lib/couchbase/datastructures/couchbase_set.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/datastructures/couchbase_set.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 ⇒ CouchbaseSetOptions
constructor
A new instance of CouchbaseSetOptions.
Constructor Details
#initialize ⇒ CouchbaseSetOptions
Returns a new instance of CouchbaseSetOptions.
130 131 132 133 134 135 136 |
# File 'lib/couchbase/datastructures/couchbase_set.rb', line 130 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.
125 126 127 |
# File 'lib/couchbase/datastructures/couchbase_set.rb', line 125 def @get_options end |
#lookup_in_options ⇒ Object
Returns the value of attribute lookup_in_options.
126 127 128 |
# File 'lib/couchbase/datastructures/couchbase_set.rb', line 126 def @lookup_in_options end |
#mutate_in_options ⇒ Object
Returns the value of attribute mutate_in_options.
127 128 129 |
# File 'lib/couchbase/datastructures/couchbase_set.rb', line 127 def @mutate_in_options end |
#remove_options ⇒ Object
Returns the value of attribute remove_options.
128 129 130 |
# File 'lib/couchbase/datastructures/couchbase_set.rb', line 128 def @remove_options end |