fcoury / octopi

A Ruby interface to GitHub API v2
http://hasmany.info/2009/4/18/ruby-interface-to-github-api
MIT License
216 stars 47 forks source link

Repository#clone_url Should Return Private Clone URLs Where Appropriate #25

Closed runpaint closed 15 years ago

runpaint commented 15 years ago

Repository#clone_url always returns the public clone URL. If a user is authenticated and owns the repository the clone_url should be his private clone URL.

radar commented 15 years ago

I believe this does it now.