Method: Kafka::Protocol::EndTxnResposne#initialize

Defined in:
lib/kafka/protocol/end_txn_response.rb

#initialize(error_code:) ⇒ EndTxnResposne

Returns a new instance of EndTxnResposne.



8
9
10
# File 'lib/kafka/protocol/end_txn_response.rb', line 8

def initialize(error_code:)
  @error_code = error_code
end