Module: Pwned
- Defined in:
- lib/pwned.rb,
lib/pwned/error.rb,
lib/pwned/version.rb,
lib/pwned/password.rb
Overview
The main namespace for Pwned
. Includes convenience methods for
getting the results for a password.
Defined Under Namespace
Classes: Error, Password, TimeoutError
Constant Summary
- VERSION =
The current version of the
pwned
gem. "1.1.0"
Class Method Summary collapse
-
.pwned?(password, request_options = {}) ⇒ Boolean
Returns
true
when the password has been pwned. -
.pwned_count(password, request_options = {}) ⇒ Integer
Returns number of times the password has been pwned.