Class: Gitlab::Git::Wiki::CommitDetails
- Inherits:
-
Struct
- Object
- Struct
- Gitlab::Git::Wiki::CommitDetails
- Defined in:
- lib/gitlab/git/wiki.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#message ⇒ Object
Returns the value of attribute message.
-
#name ⇒ Object
Returns the value of attribute name.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email
12 13 14 |
# File 'lib/gitlab/git/wiki.rb', line 12 def email @email end |
#message ⇒ Object
Returns the value of attribute message
12 13 14 |
# File 'lib/gitlab/git/wiki.rb', line 12 def @message end |
#name ⇒ Object
Returns the value of attribute name
12 13 14 |
# File 'lib/gitlab/git/wiki.rb', line 12 def name @name end |
#user_id ⇒ Object
Returns the value of attribute user_id
12 13 14 |
# File 'lib/gitlab/git/wiki.rb', line 12 def user_id @user_id end |
#username ⇒ Object
Returns the value of attribute username
12 13 14 |
# File 'lib/gitlab/git/wiki.rb', line 12 def username @username end |
Instance Method Details
#to_h ⇒ Object
13 14 15 |
# File 'lib/gitlab/git/wiki.rb', line 13 def to_h { user_id: user_id, username: username, name: name, email: email, message: } end |