From 6e242e82237ad2cf362098f3f42f4a9dd1a4ad27 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Wed, 18 Oct 2017 21:46:05 +0200 Subject: Replace old GH importer with the parallel importer --- lib/github/user.rb | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 lib/github/user.rb (limited to 'lib/github/user.rb') diff --git a/lib/github/user.rb b/lib/github/user.rb deleted file mode 100644 index f88a29e590b..00000000000 --- a/lib/github/user.rb +++ /dev/null @@ -1,24 +0,0 @@ -module Github - class User - attr_reader :username, :options - - def initialize(username, options) - @username = username - @options = options - end - - def get - client.get(user_url).body - end - - private - - def client - @client ||= Github::Client.new(options) - end - - def user_url - "/users/#{username}" - end - end -end -- cgit v1.2.1