module Git::Keys

Constants

VERSION

Public Class Methods

collect(user) click to toggle source

$ git keys defunkt > curl “github.com/defunkt.keys

# File lib/git/keys.rb, line 8
def self.collect(user)
  response = Net::HTTP.get(URI "https://github.com/#{user}.keys")
    case response
  when nil || ""
    exit 1
  else
    response
  end
end