Class: Tarantool::Request::WrapPing
- Inherits:
-
Struct
- Object
- Struct
- Tarantool::Request::WrapPing
- Defined in:
- lib/tarantool/request.rb
Instance Attribute Summary collapse
-
#cb ⇒ Object
Returns the value of attribute cb.
Instance Method Summary collapse
- #call(data) ⇒ Object
- #call_callback(data) ⇒ Object
- #parse_response(data) ⇒ Object
- #parse_response_for_cb(data) ⇒ Object
Instance Attribute Details
#cb ⇒ Object
Returns the value of attribute cb
381 382 383 |
# File 'lib/tarantool/request.rb', line 381 def cb @cb end |
Instance Method Details
#call(data) ⇒ Object
382 383 384 |
# File 'lib/tarantool/request.rb', line 382 def call(data) cb.call data end |
#call_callback(data) ⇒ Object
385 386 387 |
# File 'lib/tarantool/request.rb', line 385 def call_callback(data) cb.call data end |
#parse_response(data) ⇒ Object
388 389 390 |
# File 'lib/tarantool/request.rb', line 388 def parse_response(data) data end |
#parse_response_for_cb(data) ⇒ Object
391 392 393 |
# File 'lib/tarantool/request.rb', line 391 def parse_response_for_cb(data) data end |