class Aws::Rails::SqsActiveJob::Configuration

def load_yaml(file_path)

def load_yaml(file_path)
  require 'erb'
  source = ERB.new(File.read(file_path)).result
  # Avoid incompatible changes with Psych 4.0.0
  # https://bugs.ruby-lang.org/issues/17866
  # rubocop:disable Security/YAMLLoad
  begin
    YAML.load(source, aliases: true) || {}
  rescue ArgumentError
    YAML.load(source) || {}
  end
  # rubocop:enable Security/YAMLLoad
end