Sha256: 7ab54dae3529dccc5658dfb7d64bdc17c5ddefe95cbbd9a8e8f5c89eacfdabce
Contents?: true
Size: 827 Bytes
Versions: 2
Compression:
Stored size: 827 Bytes
Contents
require 'rufus-scheduler' require 'redis' module Dashing class Configuration attr_accessor :scheduler, :redis, :view_path, :jobs_path, :redis_namespace, :engine_path, :dashboards_path, :dashboard_layout, :widgets_path, :default_dashboard, :auth_token def initialize @scheduler = ::Rufus::Scheduler.new @redis = ::Redis.new @redis_namespace = 'dashing_events' @view_path = 'app/views/dashing/' @jobs_path = 'app/jobs/' @engine_path = '/dashing' @dashboards_path = 'app/views/dashing/dashboards/' @dashboard_layout = 'dashing/dashboard' @widgets_path = 'app/views/dashing/widgets/' @default_dashboard = nil @auth_token = nil end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dashing-rails-1.0.1 | lib/dashing/configuration.rb |
dashing-rails-1.0.0 | lib/dashing/configuration.rb |