summaryrefslogtreecommitdiff
path: root/lib/bitbucket/representation/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitbucket/representation/user.rb')
-rw-r--r--lib/bitbucket/representation/user.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/bitbucket/representation/user.rb b/lib/bitbucket/representation/user.rb
index 6025a9f0653..ba6b7667b49 100644
--- a/lib/bitbucket/representation/user.rb
+++ b/lib/bitbucket/representation/user.rb
@@ -2,11 +2,7 @@ module Bitbucket
module Representation
class User < Representation::Base
def username
- raw['username'] || 'Anonymous'
- end
-
- def uuid
- raw['uuid']
+ raw['username']
end
end
end