Class: Couchbase::MutationToken
- Inherits:
-
Object
- Object
- Couchbase::MutationToken
- Defined in:
- lib/couchbase/mutation_state.rb,
/code/couchbase-ruby-client/lib/couchbase/mutation_state.rb
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
Name of the bucket.
- #partition_id ⇒ Integer
- #partition_uuid ⇒ Integer
- #sequence_number ⇒ Integer
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ MutationToken
constructor
A new instance of MutationToken.
Constructor Details
#initialize {|self| ... } ⇒ MutationToken
Returns a new instance of MutationToken.
29 30 31 |
# File 'lib/couchbase/mutation_state.rb', line 29 def initialize yield self if block_given? end |
Instance Attribute Details
#bucket_name ⇒ String
Returns name of the bucket.
26 27 28 |
# File 'lib/couchbase/mutation_state.rb', line 26 def bucket_name @bucket_name end |
#partition_id ⇒ Integer
20 21 22 |
# File 'lib/couchbase/mutation_state.rb', line 20 def partition_id @partition_id end |
#partition_uuid ⇒ Integer
22 23 24 |
# File 'lib/couchbase/mutation_state.rb', line 22 def partition_uuid @partition_uuid end |
#sequence_number ⇒ Integer
24 25 26 |
# File 'lib/couchbase/mutation_state.rb', line 24 def sequence_number @sequence_number end |