Class: Rugged::Credentials::SshKeyFromAgent

Inherits:
Object
  • Object
show all
Defined in:
lib/rugged/credentials.rb,
ext/rugged/rugged_cred.c

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ SshKeyFromAgent

Returns a new instance of SshKeyFromAgent.



26
27
28
# File 'lib/rugged/credentials.rb', line 26

def initialize(options)
  @username = options[:username]
end

Instance Method Details

#call(url, username_from_url, allowed_types) ⇒ Object



30
31
32
# File 'lib/rugged/credentials.rb', line 30

def call(url, username_from_url, allowed_types)
  self
end