Class: Path::Reporting::Configuration
- Inherits:
-
Object
- Object
- Path::Reporting::Configuration
- Defined in:
- lib/path/reporting/configuration.rb
Overview
Global configuration for all reporting sub-modules
Instance Attribute Summary collapse
-
#analytics ⇒ Analytics::Configuration
readonly
The configuration for analytics reporting.
-
#system_name ⇒ Object
Returns the value of attribute system_name.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
Create a new configuration.
Constructor Details
#initialize ⇒ Configuration
Create a new configuration. Sub configuration's will be used by the various reporting sections.
17 18 19 |
# File 'lib/path/reporting/configuration.rb', line 17 def initialize @analytics = Analytics::Configuration.new end |
Instance Attribute Details
#analytics ⇒ Analytics::Configuration (readonly)
Returns the configuration for analytics reporting.
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/path/reporting/configuration.rb', line 10 class Configuration attr_reader :analytics attr_accessor :system_name # Create a new configuration. Sub configuration's will be used by the # various reporting sections. # @see Analytics::Configuration def initialize @analytics = Analytics::Configuration.new end end |
#system_name ⇒ Object
Returns the value of attribute system_name.
12 13 14 |
# File 'lib/path/reporting/configuration.rb', line 12 def system_name @system_name end |