Sha256: 3686de8e531fb928d0df6eb426603127e26bcf56388ad623f0b7c4558e6edf76
Contents?: true
Size: 615 Bytes
Versions: 4
Compression:
Stored size: 615 Bytes
Contents
# frozen_string_literal: true require 'contracts' # ProxyRb module ProxyRb # Rspec module Rspec # Helpers module Helpers # Helpers to access passwords module Passwords include Contracts::Core include Contracts::Builtin Contract Or[String, Symbol] => Maybe[String] # Get password for user # # @param [String] user_name # The user name # # @return [String] # The password def password(user_name) ProxyRb.config.password_fetcher.call(user_name.to_s) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems