Sha256: c1b145688f11dc02165f2f2219b96e4be1cd71e6e9bca95b1057e91463f78f93

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

module Passrock
  class PasswordDb

    attr_reader :password_db_finder

    def initialize(opts = {})
      @password_db_finder = PasswordDbFinder.new(opts)
    end

    def secure?(password)
      !password_db_finder.find(password)
    end

    def insecure?(password)
      !secure?(password)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
passrock-0.0.8 lib/passrock/password_db.rb