class PasswordBreachAlert::Api::Breach

Constants

API_URL

Public Instance Methods

call() click to toggle source
# File lib/password_breach_alert/api/breach.rb, line 8
def call
  with_wait do
    JSON.parse(URI.parse(API_URL).open(@request_options).read)
  end
end