Class: CanvasSync::Config

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_onObject

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