Class: Configuration::Configuration

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

Overview

Root class for Configuration

Direct Known Subclasses

CredentialsConfiguration, ShiftConfiguration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



25
26
27
28
# File 'lib/configuration/configuration.rb', line 25

def initialize
  self.manager = ConfigurationManager.instance
  self.data = manager.configuration_data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



23
24
25
# File 'lib/configuration/configuration.rb', line 23

def data
  @data
end

#managerObject

Returns the value of attribute manager.



23
24
25
# File 'lib/configuration/configuration.rb', line 23

def manager
  @manager
end