Class: Couchbase::BinaryCollection::CounterResult

Inherits:
Collection::MutationResult show all
Defined in:
lib/couchbase/binary_collection_options.rb,
/code/couchbase-ruby-client/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



23
24
25
# File 'lib/couchbase/binary_collection_options.rb', line 23

def content
  @content
end