Class: Dependabot::PullRequestCreator::Message
- Inherits:
-
Object
- Object
- Dependabot::PullRequestCreator::Message
- Defined in:
- lib/dependabot/pull_request_creator/message.rb
Overview
Message is a static alternative to MessageBuilder
Instance Attribute Summary collapse
-
#commit_message ⇒ Object
readonly
Returns the value of attribute commit_message.
-
#pr_message ⇒ Object
readonly
Returns the value of attribute pr_message.
-
#pr_name ⇒ Object
readonly
Returns the value of attribute pr_name.
Instance Method Summary collapse
-
#initialize(commit_message: nil, pr_name: nil, pr_message: nil) ⇒ Message
constructor
A new instance of Message.
Constructor Details
#initialize(commit_message: nil, pr_name: nil, pr_message: nil) ⇒ Message
Returns a new instance of Message.
10 11 12 13 14 |
# File 'lib/dependabot/pull_request_creator/message.rb', line 10 def initialize(commit_message: nil, pr_name: nil, pr_message: nil) @commit_message = @pr_name = pr_name @pr_message = end |
Instance Attribute Details
#commit_message ⇒ Object (readonly)
Returns the value of attribute commit_message.
8 9 10 |
# File 'lib/dependabot/pull_request_creator/message.rb', line 8 def @commit_message end |
#pr_message ⇒ Object (readonly)
Returns the value of attribute pr_message.
8 9 10 |
# File 'lib/dependabot/pull_request_creator/message.rb', line 8 def @pr_message end |
#pr_name ⇒ Object (readonly)
Returns the value of attribute pr_name.
8 9 10 |
# File 'lib/dependabot/pull_request_creator/message.rb', line 8 def pr_name @pr_name end |