Class: HaasbotRuby::Client
- Inherits:
-
Object
- Object
- HaasbotRuby::Client
- Includes:
- Api::Market
- Defined in:
- lib/haasbot_ruby/client.rb
Instance Method Summary collapse
-
#initialize(host, port) ⇒ Client
constructor
A new instance of Client.
Methods included from Api::Market
#get_all_price_sources, #get_enabled_price_sources, #get_history, #get_last_trades, #get_minute_price_ticker, #get_orderbook, #get_price_markets, #get_price_ticker
Constructor Details
#initialize(host, port) ⇒ Client
Returns a new instance of Client.
10 11 12 13 |
# File 'lib/haasbot_ruby/client.rb', line 10 def initialize(host, port) @host = host @port = port end |