Class: CanvasSync::Config
- Inherits:
-
Object
- Object
- CanvasSync::Config
- Defined in:
- lib/canvas_sync/config.rb
Constant Summary collapse
- DEFAULT_CLASSES_TO_ONLY_LOG_ERRORS_ON =
["CanvasSync::Jobs::ReportChecker"].freeze
Instance Attribute Summary collapse
-
#classes_to_only_log_errors_on ⇒ Object
Returns the value of attribute classes_to_only_log_errors_on.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
6 7 8 |
# File 'lib/canvas_sync/config.rb', line 6 def initialize @classes_to_only_log_errors_on = DEFAULT_CLASSES_TO_ONLY_LOG_ERRORS_ON.dup end |
Instance Attribute Details
#classes_to_only_log_errors_on ⇒ Object
Returns the value of attribute classes_to_only_log_errors_on.
3 4 5 |
# File 'lib/canvas_sync/config.rb', line 3 def classes_to_only_log_errors_on @classes_to_only_log_errors_on end |