Class: Bitbucket::Representation::User

Inherits:
Base
  • Object
show all
Defined in:
lib/bitbucket/representation/user.rb

Instance Attribute Summary

Attributes inherited from Base

#raw

Instance Method Summary collapse

Methods inherited from Base

decorate, #initialize

Constructor Details

This class inherits a constructor from Bitbucket::Representation::Base

Instance Method Details

#account_idObject



10
11
12
# File 'lib/bitbucket/representation/user.rb', line 10

def 
  user['account_id']
end

#nameObject



14
15
16
# File 'lib/bitbucket/representation/user.rb', line 14

def name
  user['display_name']
end

#nicknameObject



18
19
20
# File 'lib/bitbucket/representation/user.rb', line 18

def nickname
  user['nickname']
end

#usernameObject



6
7
8
# File 'lib/bitbucket/representation/user.rb', line 6

def username
  raw['username']
end