Class: Bitbucket::Representation::User
- Inherits:
-
Base
- Object
- Base
- Bitbucket::Representation::User
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
Instance Method Details
#account_id ⇒ Object
10
11
12
|
# File 'lib/bitbucket/representation/user.rb', line 10
def account_id
user['account_id']
end
|
#name ⇒ Object
14
15
16
|
# File 'lib/bitbucket/representation/user.rb', line 14
def name
user['display_name']
end
|
#nickname ⇒ Object
18
19
20
|
# File 'lib/bitbucket/representation/user.rb', line 18
def nickname
user['nickname']
end
|
#username ⇒ Object
6
7
8
|
# File 'lib/bitbucket/representation/user.rb', line 6
def username
raw['username']
end
|