wrapped in nvd_tools module
This commit is contained in:
parent
edb87d3148
commit
07ba0f4fc9
2 changed files with 53 additions and 48 deletions
|
@ -1,7 +1,9 @@
|
||||||
require 'rest-client'
|
require 'rest-client'
|
||||||
require 'zlib'
|
require 'zlib'
|
||||||
require 'json'
|
require 'json'
|
||||||
|
require '../modules/nvd_tools'
|
||||||
|
|
||||||
|
module NvdTools
|
||||||
class NvdDownloader
|
class NvdDownloader
|
||||||
attr_accessor :version, :base_url, :base_filename, :years, :filenames_json
|
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
|
# if there is a change, return true, if not return false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
2
modules/nvd_tools.rb
Normal file
2
modules/nvd_tools.rb
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
module NvdTools
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue