Class: LogDb::Server
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- LogDb::Server
- Includes:
- Models
- Defined in:
- lib/logutils/server.rb
Constant Summary collapse
- PUBLIC_FOLDER =
"#{LogDb.root}/lib/logutils/server/public"- VIEWS_FOLDER =
"#{LogDb.root}/lib/logutils/server/views"
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
25 26 27 |
# File 'lib/logutils/server.rb', line 25 def self. "logdb-service/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] on Sinatra/#{Sinatra::VERSION} (#{ENV['RACK_ENV']})" end |