wrapped in nvd_tools module

This commit is contained in:
booboy 2019-05-12 20:34:52 -05:00
parent edb87d3148
commit 07ba0f4fc9
2 changed files with 53 additions and 48 deletions

View file

@ -1,7 +1,9 @@
require 'rest-client'
require 'zlib'
require 'json'
require '../modules/nvd_tools'
module NvdTools
class NvdDownloader
attr_accessor :version, :base_url, :base_filename, :years, :filenames_json
@ -78,3 +80,4 @@ class NvdDownloader
# if there is a change, return true, if not return false
end
end
end

2
modules/nvd_tools.rb Normal file
View file

@ -0,0 +1,2 @@
module NvdTools
end