Class: Mj::Git::PullRequestAuthor

Inherits:
Object
  • Object
show all
Defined in:
lib/mj/git/pull_request_author.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = 
  @name = name
  @is_bot = is_bot
end

Instance Attribute Details

#idObject (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_botObject (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

#loginObject (readonly)

Returns the value of attribute login.



8
9
10
# File 'lib/mj/git/pull_request_author.rb', line 8

def 
  @login
end

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/mj/git/pull_request_author.rb', line 7

def name
  @name
end