Sha256: b59079f4ffb6db366eb09832cff8d416440550bd854f45ca90fd2e638d1a274c
Contents?: true
Size: 498 Bytes
Versions: 5
Compression:
Stored size: 498 Bytes
Contents
module Pwb # https://github.com/zilkey/active_hash class ImportMapping < ActiveJSON::Base # set_filename "config" # not possible to set primary_key like so: # self.primary_key = :name set_root_path "#{Pwb::Engine.root}/config/import_mappings" use_multiple_files # when adding new files, need to restart server and ensure correct name # is used in corresponding json file set_filenames "mls_interealty", "mls_mris", "mls_csv_jon", "mls_olr", "api_pwb" end end
Version data entries
5 entries across 5 versions & 1 rubygems