Exception: WPScan::Error::ChecksumsMismatch

Inherits:
Standard
  • Object
show all
Defined in:
lib/wpscan/errors/update.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db_file) ⇒ ChecksumsMismatch

Returns a new instance of ChecksumsMismatch.



15
16
17
# File 'lib/wpscan/errors/update.rb', line 15

def initialize(db_file)
  @db_file = db_file
end

Instance Attribute Details

#db_fileObject (readonly)

Returns the value of attribute db_file.



13
14
15
# File 'lib/wpscan/errors/update.rb', line 13

def db_file
  @db_file
end

Instance Method Details

#to_sObject



19
20
21
# File 'lib/wpscan/errors/update.rb', line 19

def to_s
  "#{db_file}: checksums do not match. Please try again in a few minutes."
end