lib/brief/server/gateway.rb in brief-1.9.7 vs lib/brief/server/gateway.rb in brief-1.9.8
- old
+ new
@@ -6,9 +6,11 @@
port = options.fetch(:port, 9094)
host = options.fetch(:host, '0.0.0.0')
Rack::Handler::Thin.run(app, Port: port, Host: host)
end
+ attr_reader :briefcases
+
def initialize(options={})
@root = options.fetch(:root)
@briefcases = {}.to_mash
@briefcase_options = options.fetch(:briefcase_options, {})
load_briefcases