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.



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

def initialize(options)
  @username = options[: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