# File lib/smart_proxy_dhcp_remote_isc/subnet_service_initializer.rb, line 9 def initialize(config_file_path, leases_file_path, parser, subnet_service) @config_file_path = config_file_path @leases_file_path = leases_file_path super(subnet_service, parser) end
# File lib/smart_proxy_dhcp_remote_isc/subnet_service_initializer.rb, line 15 def initialized_subnet_service load_configuration_file(read_config_file, config_file_path) load_leases_file(read_leases_file, leases_file_path) subnet_service end
# File lib/smart_proxy_dhcp_remote_isc/subnet_service_initializer.rb, line 25 def read_config_file File.read(File.expand_path(config_file_path)) end
# File lib/smart_proxy_dhcp_remote_isc/subnet_service_initializer.rb, line 21 def read_leases_file File.read(File.expand_path(leases_file_path)) end