Sha256: c85296b9bb675fc5d6a4116e465fab8b79c7a8fbd0ad222918966aca51345b85
Contents?: true
Size: 603 Bytes
Versions: 12
Compression:
Stored size: 603 Bytes
Contents
module WPScan # WordPress User class User include Finders::Finding attr_accessor :password attr_reader :id, :username # @param [ String ] username # @param [ Hash ] opts # @option opts [ Integer ] :id # @option opts [ String ] :password def initialize(username, opts = {}) @username = username @password = opts[:password] @id = opts[:id] parse_finding_options(opts) end def ==(other) return false unless self.class == other.class username == other.username end def to_s username end end end
Version data entries
12 entries across 12 versions & 1 rubygems