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