diff options
Diffstat (limited to 'lib/github/representation/user.rb')
-rw-r--r-- | lib/github/representation/user.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/github/representation/user.rb b/lib/github/representation/user.rb deleted file mode 100644 index 18591380e25..00000000000 --- a/lib/github/representation/user.rb +++ /dev/null @@ -1,15 +0,0 @@ -module Github - module Representation - class User < Representation::Base - def email - return @email if defined?(@email) - - @email = Github::User.new(username, options).get.fetch('email', nil) - end - - def username - raw['login'] - end - end - end -end |