Module: ProxyRb::Api::Passwords
- Includes:
- Contracts::Builtin, Contracts::Core
- Included in:
- ProxyRb::Api
- Defined in:
- lib/proxy_rb/api/passwords.rb
Overview
Helpers to access passwords
Instance Method Summary collapse
-
#password(user_name) ⇒ String
Get password for user.
Instance Method Details
#password(user_name) ⇒ String
Get password for user
21 22 23 |
# File 'lib/proxy_rb/api/passwords.rb', line 21 def password(user_name) ProxyRb.config.password_fetcher.call(user_name.to_s) end |