Class: Kraaken::Credentials::OnePassword
- Inherits:
-
Kraaken::Credentials
- Object
- Kraaken::Credentials
- Kraaken::Credentials::OnePassword
- Defined in:
- lib/kraaken/credentials/one_password.rb
Instance Method Summary collapse
Instance Method Details
#credential(name) ⇒ Object
4 5 6 7 8 |
# File 'lib/kraaken/credentials/one_password.rb', line 4 def credential(name) username = retrieve(name, "username") password = retrieve(name) Credential.new(username:, password:) end |
#password(name) ⇒ Object
10 11 12 |
# File 'lib/kraaken/credentials/one_password.rb', line 10 def password(name) retrieve name end |