Sha256: bfc1e1af582a389af8aba22e5bdf28043cfd71c38eb97d26aebb0d0c6678877e
Contents?: true
Size: 373 Bytes
Versions: 2
Compression:
Stored size: 373 Bytes
Contents
require 'rack/methodoverride' module Jubilee class Server < VertxServer def initialize(app, opts = {}) options = {Host: "0.0.0.0", Port: 8080, ssl: false}.merge(opts) if (options[:ssl]) && options[:ssl_keystore].nil? raise ArgumentError, "Please provide a keystore for ssl" end super(Application.new(app), options) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jubilee-1.1.3-java | lib/jubilee/server.rb |
jubilee-1.1.2-java | lib/jubilee/server.rb |