Class: IbRubyProxy::Client::IbCallbacksObserver
- Inherits:
-
Object
- Object
- IbRubyProxy::Client::IbCallbacksObserver
- Includes:
- DRb::DRbUndumped, Util::HasLogger
- Defined in:
- lib/ib_ruby_proxy/client/ib_callbacks_observer.rb
Overview
Base observer for callbacks received by Server::IbWrapperAdapter
This class is meant to be extended by implementing the methods for the callbacks you are interested in
Instance Method Summary collapse
Methods included from Util::HasLogger
Instance Method Details
#error(*arguments) ⇒ Object
19 20 21 22 |
# File 'lib/ib_ruby_proxy/client/ib_callbacks_observer.rb', line 19 def error(*arguments) logger.error 'Error received in ib wrapper:' logger.error arguments.inspect end |
#update(*params) ⇒ Object
14 15 16 17 |
# File 'lib/ib_ruby_proxy/client/ib_callbacks_observer.rb', line 14 def update(*params) method_name, *arguments = params send method_name, *arguments end |