Class: ChartApp
- Inherits:
-
Sinatra::Application
- Object
- Sinatra::Application
- ChartApp
- Includes:
- Profit
- Defined in:
- lib/profit/app/chart_app.rb
Constant Summary
Constants included from Profit
Class Method Summary collapse
Methods included from Profit
Class Method Details
.options=(options) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/profit/app/chart_app.rb', line 10 def self.=() settings.port = [:sinatra_port] || 4567 Profit.redis_host = [:redis_host] || "127.0.0.1" Profit.redis_port = [:redis_port] || 6379 puts "Connecting to Redis: #{Profit.redis_host}:#{Profit.redis_port}" end |