Class: Centralbank::Service

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/centralbank/service.rb

Constant Summary collapse

PUBLIC_FOLDER =
"#{Centralbank.root}/lib/centralbank/public"
VIEWS_FOLDER =
"#{Centralbank.root}/lib/centralbank/views"

Class Method Summary collapse

Class Method Details



7
8
9
# File 'lib/centralbank/service.rb', line 7

def self.banner
  "centralbank/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] on Sinatra/#{Sinatra::VERSION} (#{ENV['RACK_ENV']}) in (#{Centralbank.root})"
end