Class: Nsqrb::Frame::Response
- Inherits:
-
Nsqrb::Frame
- Object
- OpenStruct
- Nsqrb::Frame
- Nsqrb::Frame::Response
- Defined in:
- lib/nsqrb/frame/response.rb
Instance Method Summary collapse
-
#initialize(frame) ⇒ Response
constructor
A new instance of Response.
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 |