Module: Dashboards
- Defined in:
- lib/dashboards.rb,
lib/dashboards/dsl.rb,
lib/dashboards/engine.rb,
lib/dashboards/loader.rb,
lib/dashboards/dsl/box.rb,
lib/dashboards/version.rb,
lib/dashboards/dsl/chart.rb,
lib/dashboards/dsl/table.rb,
lib/dashboards/dsl/metric.rb,
lib/dashboards/dsl/element.rb,
lib/dashboards/dsl/summary.rb,
lib/dashboards/configuration.rb,
lib/dashboards/dsl/dashboard.rb,
lib/dashboards/dsl/change_over_period.rb,
app/controllers/dashboards/base_controller.rb,
app/controllers/dashboards/dashboards_controller.rb
Defined Under Namespace
Modules: DSL
Classes: BaseController, Box, ChangeOverPeriod, Chart, Configuration, CustomElement, Dashboard, DashboardsController, Element, Engine, Error, Loader, Metric, Summary, Table
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
19
20
21
|
# File 'lib/dashboards.rb', line 19
def configuration
@configuration ||= Configuration.new
end
|
Class Method Details
23
24
25
|
# File 'lib/dashboards.rb', line 23
def configure
yield(configuration)
end
|
.reset_configuration! ⇒ Object
27
28
29
|
# File 'lib/dashboards.rb', line 27
def reset_configuration!
@configuration = Configuration.new
end
|