Class: Nsqrb::Frame::Response

Inherits:
Nsqrb::Frame show all
Defined in:
lib/nsqrb/frame/response.rb

Instance Method Summary collapse

Constructor Details

#initialize(frame) ⇒ Response

Returns a new instance of Response.



4
5
6
# File 'lib/nsqrb/frame/response.rb', line 4

def initialize(frame)
  super(content: frame[:data])
end