Class: Jubilee::Server
- Inherits:
-
VertxServer
- Object
- VertxServer
- Jubilee::Server
- Defined in:
- lib/jubilee/server.rb
Instance Method Summary collapse
-
#initialize(app, opts = {}) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(app, opts = {}) ⇒ Server
Returns a new instance of Server.
4 5 6 7 8 9 10 |
# File 'lib/jubilee/server.rb', line 4 def initialize(app, opts = {}) = {Host: "0.0.0.0", Port: 8080, ssl: false}.merge(opts) if ([:ssl]) && [:ssl_keystore].nil? raise ArgumentError, "Please provide a keystore for ssl" end super(Application.new(app), ) end |