Class: Mj::Git::PullRequestAuthor
- Inherits:
-
Object
- Object
- Mj::Git::PullRequestAuthor
- Defined in:
- lib/mj/git/pull_request_author.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#is_bot ⇒ Object
readonly
Returns the value of attribute is_bot.
-
#login ⇒ Object
readonly
Returns the value of attribute login.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id:, name:, login:, is_bot:) ⇒ PullRequestAuthor
constructor
A new instance of PullRequestAuthor.
Constructor Details
#initialize(id:, name:, login:, is_bot:) ⇒ PullRequestAuthor
Returns a new instance of PullRequestAuthor.
11 12 13 14 15 16 |
# File 'lib/mj/git/pull_request_author.rb', line 11 def initialize(id:, name:, login:, is_bot:) @id = id @login = login @name = name @is_bot = is_bot end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/mj/git/pull_request_author.rb', line 6 def id @id end |
#is_bot ⇒ Object (readonly)
Returns the value of attribute is_bot.
9 10 11 |
# File 'lib/mj/git/pull_request_author.rb', line 9 def is_bot @is_bot end |
#login ⇒ Object (readonly)
Returns the value of attribute login.
8 9 10 |
# File 'lib/mj/git/pull_request_author.rb', line 8 def login @login end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/mj/git/pull_request_author.rb', line 7 def name @name end |