Moves Models into their own namespace - Ref #1315

This commit is contained in:
erwanlr
2019-03-19 21:07:53 +00:00
parent f1657164d5
commit 898e8d4546
116 changed files with 613 additions and 560 deletions

View File

@@ -9,9 +9,9 @@ module WPScan
# @param [ String ] number
# @param [ Hash ] finding_opts
# @return [ WPScan::Version ]
# @return [ Model::Version ]
def create_version(number, finding_opts)
WPScan::Version.new(number, version_finding_opts(finding_opts))
Model::Version.new(number, version_finding_opts(finding_opts))
end
# @param [ Hash ] opts