Class: Couchbase::BinaryCollection::CounterResult

Inherits:
Collection::MutationResult show all
Defined in:
lib/couchbase/binary_collection_options.rb

Instance Attribute Summary collapse

Attributes inherited from Collection::MutationResult

#cas, #error, #id, #mutation_token

Method Summary

Methods inherited from Collection::MutationResult

#initialize, #success?

Constructor Details

This class inherits a constructor from Couchbase::Collection::MutationResult

Instance Attribute Details

#contentInteger

Returns current value of the counter.

Returns:

  • (Integer)

    current value of the counter



21
22
23
# File 'lib/couchbase/binary_collection_options.rb', line 21

def content
  @content
end