lib/wolf_core/application/integrations/environment_operations.rb
module WolfCore module Integrations module EnvironmentOperations def load_environment_variables(json_file) file_content = File.read(json_file) data = JSON.parse(file_content) data.each do |key, value| parsed_key = key.gsub(/([a-z])([A-Z])/, '\1_\2').upcase ENV[parsed_key] = value end end end end end