Class: Tair::GetRequest
Direct Known Subclasses
Defined Under Namespace
Classes: Body
Constant Summary collapse
- PACKET_CODE =
2
Constants inherited from Request
Request::MAX_INT32, Request::TAIR_PACKET_FLAG
Instance Attribute Summary
Attributes inherited from Request
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(key) ⇒ GetRequest
constructor
A new instance of GetRequest.
Methods inherited from Request
#encode, #header, #inspect, #packet_code, #req_id
Constructor Details
#initialize(key) ⇒ GetRequest
Returns a new instance of GetRequest.
26 27 28 |
# File 'lib/tair/operation/get.rb', line 26 def initialize(key) @key = key end |