Class: LogDb::Server

Inherits:
Sinatra::Base
  • Object
show all
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



25
26
27
# File 'lib/logutils/server.rb', line 25

def self.banner
  "logdb-service/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] on Sinatra/#{Sinatra::VERSION} (#{ENV['RACK_ENV']})"
end