lib/rubysermon/configurator.rb
c61af953
 require 'json'
 
 module Rubysermon
 	class Configurator
 
 		def initialize(config_path)
 			raw_json = File.read(config_path)
 			@parsed_settings = JSON.parse(raw_json, symbolize_names: true)
 		end
 
 		def get_settings
 			@parsed_settings
 		end
 	end
 end