Class: PicoApi::Configuration
- Inherits:
-
Object
- Object
- PicoApi::Configuration
- Defined in:
- lib/pico_api/configuration.rb
Instance Attribute Summary collapse
-
#db_config ⇒ Object
readonly
Returns the value of attribute db_config.
-
#errors_map ⇒ Object
Returns the value of attribute errors_map.
-
#lib_path ⇒ Object
Returns the value of attribute lib_path.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
Instance Method Summary collapse
-
#initialize(db_config) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(db_config) ⇒ Configuration
Returns a new instance of Configuration.
26 27 28 |
# File 'lib/pico_api/configuration.rb', line 26 def initialize(db_config) @db_config = db_config end |
Instance Attribute Details
#db_config ⇒ Object (readonly)
Returns the value of attribute db_config.
23 24 25 |
# File 'lib/pico_api/configuration.rb', line 23 def db_config @db_config end |
#errors_map ⇒ Object
Returns the value of attribute errors_map.
24 25 26 |
# File 'lib/pico_api/configuration.rb', line 24 def errors_map @errors_map end |
#lib_path ⇒ Object
Returns the value of attribute lib_path.
24 25 26 |
# File 'lib/pico_api/configuration.rb', line 24 def lib_path @lib_path end |
#logger ⇒ Object
Returns the value of attribute logger.
24 25 26 |
# File 'lib/pico_api/configuration.rb', line 24 def logger @logger end |
#namespace ⇒ Object
Returns the value of attribute namespace.
24 25 26 |
# File 'lib/pico_api/configuration.rb', line 24 def namespace @namespace end |