Class: Rsodx::Configuration
- Inherits:
-
Object
- Object
- Rsodx::Configuration
- Defined in:
- lib/rsodx/configuration.rb
Instance Attribute Summary collapse
-
#appname ⇒ Object
Returns the value of attribute appname.
-
#database_url ⇒ Object
Returns the value of attribute database_url.
-
#logger ⇒ Object
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/rsodx/configuration.rb', line 5 def initialize @appname = Rsodx::RSODX_NAME init_database init_logger end |
Instance Attribute Details
#appname ⇒ Object
Returns the value of attribute appname.
3 4 5 |
# File 'lib/rsodx/configuration.rb', line 3 def appname @appname end |
#database_url ⇒ Object
Returns the value of attribute database_url.
3 4 5 |
# File 'lib/rsodx/configuration.rb', line 3 def database_url @database_url end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/rsodx/configuration.rb', line 3 def logger @logger end |