- if Rails.configuration.Containers["JobsAPI"]["Enable"] == false ||
- (Rails.configuration.Containers["JobsAPI"]["Enable"] == "auto" &&
+def check_enable_legacy_jobs_api
+ if Rails.configuration.Containers.JobsAPI.Enable == "false" ||
+ (Rails.configuration.Containers.JobsAPI.Enable == "auto" &&