Welcome to mirror list, hosted at ThFree Co, Russian Federation.

user.rb « representation « bitbucket « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6025a9f065397c328b284508fb1c6e346eb7a7ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Bitbucket
  module Representation
    class User < Representation::Base
      def username
        raw['username'] || 'Anonymous'
      end

      def uuid
        raw['uuid']
      end
    end
  end
end