Class: Tair::IncrResponse
- Defined in:
- lib/tair/operation/incr.rb
Defined Under Namespace
Classes: Body
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from Response
Constructor Details
This class inherits a constructor from Tair::Response
Instance Method Details
#count ⇒ Object
61 62 63 |
# File 'lib/tair/operation/incr.rb', line 61 def count @count ||= decode.current_count.value end |
#decode ⇒ Object
65 66 67 |
# File 'lib/tair/operation/incr.rb', line 65 def decode Body.read(body) end |