Class: UsdaNutrientDatabase::Configuration
- Inherits:
-
Object
- Object
- UsdaNutrientDatabase::Configuration
- Defined in:
- lib/usda_nutrient_database/configuration.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#perform_logging ⇒ Object
writeonly
Sets the attribute perform_logging.
Instance Method Summary collapse
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/usda_nutrient_database/configuration.rb', line 3 def logger @logger end |
#perform_logging=(value) ⇒ Object (writeonly)
Sets the attribute perform_logging
4 5 6 |
# File 'lib/usda_nutrient_database/configuration.rb', line 4 def perform_logging=(value) @perform_logging = value end |
Instance Method Details
#perform_logging? ⇒ Boolean
10 11 12 |
# File 'lib/usda_nutrient_database/configuration.rb', line 10 def perform_logging? @perform_logging ||= false end |