Sha256: a2625279335c14c1b620e3a8c1961099243e3a40a70dea8086c5d5955ce3d84b
Contents?: true
Size: 485 Bytes
Versions: 10
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true module WPScan module DB # WpItem - super DB class for Plugin, Theme and Version class WpItem # @param [ String ] identifier The plugin/theme slug or version number # # @return [ Hash ] The JSON data from the DB associated to the identifier def self.db_data(identifier) db[identifier] || {} end # @return [ JSON ] def self.db @db ||= read_json_file(db_file) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems