Class: Path::Reporting::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/path/reporting/configuration.rb

Overview

Global configuration for all reporting sub-modules

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#analyticsAnalytics::Configuration (readonly)

Returns the configuration for analytics reporting.

Returns:



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_nameObject

Returns the value of attribute system_name.



12
13
14
# File 'lib/path/reporting/configuration.rb', line 12

def system_name
  @system_name
end