Method: Kafka::Protocol::HeartbeatResponse#initialize
- Defined in:
- lib/kafka/protocol/heartbeat_response.rb
#initialize(error_code:) ⇒ HeartbeatResponse
Returns a new instance of HeartbeatResponse.
8 9 10 |
# File 'lib/kafka/protocol/heartbeat_response.rb', line 8 def initialize(error_code:) @error_code = error_code end |