class IbRubyProxy::Client::ResponseHandleObserver

An observer that will delegate callbacks to a {CallbacksResponseHandler}

@private

Public Class Methods

new(callbacks_response_handler) click to toggle source
# File lib/ib_ruby_proxy/client/client.rb, line 59
def initialize(callbacks_response_handler)
  @callbacks_response_handler = callbacks_response_handler
end

Public Instance Methods

update(*params) click to toggle source
# File lib/ib_ruby_proxy/client/client.rb, line 63
def update(*params)
  method, *arguments = params
  @callbacks_response_handler.callback_received(method, *arguments)
end