Vulnerability::Output specs

This commit is contained in:
erwanlr
2013-03-22 18:25:17 +01:00
parent af4ecc4084
commit d937b20d79
5 changed files with 36 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ class WpItem
attr_reader :path
attr_accessor :name, :wp_content_dir, :wp_plugins_dir
# @return [ Array ]
# Make it private ?
def allowed_options
[:name, :wp_content_dir, :wp_plugins_dir, :path, :version, :vulns_file]
end