class Rugged::Credentials::UserPassword
A plain-text username and password credential object.
Public Class Methods
new(options)
click to toggle source
# File lib/rugged/credentials.rb, line 10 def initialize(options) @username, @password = options[:username], options[:password] end
Public Instance Methods
call(url, username_from_url, allowed_types)
click to toggle source
# File lib/rugged/credentials.rb, line 14 def call(url, username_from_url, allowed_types) self end