Sha256: 156b2a145ba6067507e22c26ef1dd6007fce4c1907fee8f1177b1e513b55edc1

Contents?: true

Size: 346 Bytes

Versions: 4

Compression:

Stored size: 346 Bytes

Contents

require_relative 'server'

DEFAULT_WEBSERVER_PORT = 8080
DEFAULT_FEED_PORT = 9000
DEFAULT_ORDER_PORT = 9001

class App
  def initialize
    @server = Server.new
  end

  def start
    @server.start order_port: DEFAULT_ORDER_PORT,
      feed_port: DEFAULT_FEED_PORT,
      webserver_port: DEFAULT_WEBSERVER_PORT
  end
end

app = App.new
app.start

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-trade-0.4 server/app.rb
ruby-trade-0.3 server/app.rb
ruby-trade-0.2 server/app.rb
ruby-trade-0.1 server/app.rb