Class: Rugged::Credentials::SshKeyFromAgent
- Inherits:
-
Object
- Object
- Rugged::Credentials::SshKeyFromAgent
- Defined in:
- lib/rugged/credentials.rb,
ext/rugged/rugged_cred.c
Instance Method Summary collapse
- #call(url, username_from_url, allowed_types) ⇒ Object
-
#initialize(options) ⇒ SshKeyFromAgent
constructor
A new instance of SshKeyFromAgent.
Constructor Details
#initialize(options) ⇒ SshKeyFromAgent
Returns a new instance of SshKeyFromAgent.
31 32 33 |
# File 'lib/rugged/credentials.rb', line 31 def initialize() @username = [:username] end |
Instance Method Details
#call(url, username_from_url, allowed_types) ⇒ Object
35 36 37 |
# File 'lib/rugged/credentials.rb', line 35 def call(url, username_from_url, allowed_types) self end |