Sha256: e28b300651fa43a8f8e67660cc58865497b021ea4135cf5f089eb4923f3bb07d
Contents?: true
Size: 476 Bytes
Versions: 78
Compression:
Stored size: 476 Bytes
Contents
# A public credential in the form of a Username. class Metasploit::Credential::BlankUsername < Metasploit::Credential::Public # # Callbacks # before_save :blank_username # # Validations # validates :username, uniqueness: true # # Instance Methods # # This method always makes sure the BlankUsername is set to an empty string. # # @return [void] def blank_username self.username = '' end Metasploit::Concern.run(self) end
Version data entries
78 entries across 78 versions & 1 rubygems