Sha256: 2ca7bc6d2378139471c66af81aaf107ccf6abf53156e87812503aaf6faa98190
Contents?: true
Size: 592 Bytes
Versions: 100
Compression:
Stored size: 592 Bytes
Contents
require "yaml" module CanvasSync module Processors # Base report processing class class ReportProcessor def mapping @mapping ||= begin mapping = YAML.load_file(File.join(__dir__, "model_mappings.yml")).deep_symbolize_keys! override_filepath = Rails.root.join("config/canvas_sync_provisioning_mapping.yml") if File.file?(override_filepath) override = YAML.load_file(override_filepath).deep_symbolize_keys! mapping = mapping.merge(override) end mapping end end end end end
Version data entries
100 entries across 100 versions & 1 rubygems