Class: Tulipmania::Service

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

Constant Summary collapse

NODE =
  • for now hard-code address e.g. Sepp

Node.new( address: 'Sepp' )
PUBLIC_FOLDER =
"#{Tulipmania.root}/lib/tulipmania/public"
VIEWS_FOLDER =
"#{Tulipmania.root}/lib/tulipmania/views"

Class Method Summary collapse

Class Method Details



35
36
37
# File 'lib/tulipmania.rb', line 35

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