Class: GitlabCli::User
- Inherits:
-
Object
- Object
- GitlabCli::User
- Defined in:
- lib/gitlab_cli/user.rb
Instance Attribute Summary collapse
-
#bio ⇒ Object
Returns the value of attribute bio.
-
#blocked ⇒ Object
Returns the value of attribute blocked.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#email ⇒ Object
Returns the value of attribute email.
-
#extern_uid ⇒ Object
Returns the value of attribute extern_uid.
-
#id ⇒ Object
Returns the value of attribute id.
-
#linkedin ⇒ Object
Returns the value of attribute linkedin.
-
#name ⇒ Object
Returns the value of attribute name.
-
#provider ⇒ Object
Returns the value of attribute provider.
-
#skype ⇒ Object
Returns the value of attribute skype.
-
#twitter ⇒ Object
Returns the value of attribute twitter.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(id, username, email, name, blocked, created_at, bio = nil, skype = nil, linkedin = nil, twitter = nil, extern_uid = nil, provider = nil) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(id, username, email, name, blocked, created_at, bio = nil, skype = nil, linkedin = nil, twitter = nil, extern_uid = nil, provider = nil) ⇒ User
Returns a new instance of User.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/gitlab_cli/user.rb', line 5 def initialize(id, username, email, name, blocked, created_at, bio=nil, skype=nil, linkedin=nil, twitter=nil, extern_uid=nil, provider=nil) @id = id @username = username @email = email @name = name @blocked = blocked @created_at = created_at @bio = bio @skype = skype @linkedin = linkedin @twitter = twitter @extern_uid = extern_uid @provider = provider end |
Instance Attribute Details
#bio ⇒ Object
Returns the value of attribute bio.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def bio @bio end |
#blocked ⇒ Object
Returns the value of attribute blocked.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def blocked @blocked end |
#created_at ⇒ Object
Returns the value of attribute created_at.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def created_at @created_at end |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def email @email end |
#extern_uid ⇒ Object
Returns the value of attribute extern_uid.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def extern_uid @extern_uid end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def id @id end |
#linkedin ⇒ Object
Returns the value of attribute linkedin.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def linkedin @linkedin end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def name @name end |
#provider ⇒ Object
Returns the value of attribute provider.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def provider @provider end |
#skype ⇒ Object
Returns the value of attribute skype.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def skype @skype end |
#twitter ⇒ Object
Returns the value of attribute twitter.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def twitter @twitter end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/gitlab_cli/user.rb', line 3 def username @username end |