Adds the latest_version, last_updated and popular? attributes - Ref #853
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
# encoding: UTF-8
|
||||
|
||||
class WpVersion < WpItem
|
||||
module Vulnerable
|
||||
# @return [ String ] The path to the file containing vulnerabilities
|
||||
def vulns_file
|
||||
@vulns_file ||= WORDPRESSES_FILE
|
||||
end
|
||||
|
||||
# @return [ String ]
|
||||
def identifier
|
||||
@number
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user