Class: Couchbase::Collection::SubDocumentField Private
- Inherits:
-
Object
- Object
- Couchbase::Collection::SubDocumentField
- Defined in:
- lib/couchbase/collection_options.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
-
#error ⇒ CouchbaseError
private
Error.
-
#exists ⇒ Boolean
private
True if the path exists in the document.
-
#index ⇒ Integer
private
Index.
-
#path ⇒ String
private
Path.
-
#value ⇒ String
private
Value.
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ SubDocumentField
constructor
private
A new instance of SubDocumentField.
Constructor Details
#initialize {|self| ... } ⇒ SubDocumentField
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of SubDocumentField.
318 319 320 |
# File 'lib/couchbase/collection_options.rb', line 318 def initialize yield self if block_given? end |
Instance Attribute Details
#error ⇒ CouchbaseError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns error.
315 316 317 |
# File 'lib/couchbase/collection_options.rb', line 315 def error @error end |
#exists ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns true if the path exists in the document.
303 304 305 |
# File 'lib/couchbase/collection_options.rb', line 303 def exists @exists end |
#index ⇒ Integer
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns index.
309 310 311 |
# File 'lib/couchbase/collection_options.rb', line 309 def index @index end |
#path ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns path.
312 313 314 |
# File 'lib/couchbase/collection_options.rb', line 312 def path @path end |
#value ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns value.
306 307 308 |
# File 'lib/couchbase/collection_options.rb', line 306 def value @value end |