Class: Tarantool::Request::WrapPing

Inherits:
Struct
  • Object
show all
Defined in:
lib/tarantool/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cbObject

Returns the value of attribute cb

Returns:

  • (Object)

    the current value of 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