Class: Couchbase::Datastructures::CouchbaseListOptions
- Inherits:
-
Object
- Object
- Couchbase::Datastructures::CouchbaseListOptions
- Defined in:
- lib/couchbase/datastructures/couchbase_list.rb
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 ⇒ CouchbaseListOptions
constructor
A new instance of CouchbaseListOptions.
Constructor Details
#initialize ⇒ CouchbaseListOptions
Returns a new instance of CouchbaseListOptions.
162 163 164 165 166 167 168 |
# File 'lib/couchbase/datastructures/couchbase_list.rb', line 162 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.
157 158 159 |
# File 'lib/couchbase/datastructures/couchbase_list.rb', line 157 def @get_options end |
#lookup_in_options ⇒ Object
Returns the value of attribute lookup_in_options.
158 159 160 |
# File 'lib/couchbase/datastructures/couchbase_list.rb', line 158 def @lookup_in_options end |
#mutate_in_options ⇒ Object
Returns the value of attribute mutate_in_options.
159 160 161 |
# File 'lib/couchbase/datastructures/couchbase_list.rb', line 159 def @mutate_in_options end |
#remove_options ⇒ Object
Returns the value of attribute remove_options.
160 161 162 |
# File 'lib/couchbase/datastructures/couchbase_list.rb', line 160 def @remove_options end |