Class: CanvasSync::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/canvas_sync/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_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

#redis_key_prefixObject

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