Class: RubocopPr::Repositories::Github::Issue
- Defined in:
- lib/rubocop_pr/repositories/github.rb
Overview
The representation of the Issue
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(cop:, **opt) ⇒ Issue
constructor
A new instance of Issue.
Methods inherited from Base
#assignees, #build_command, #create, #labels
Constructor Details
#initialize(cop:, **opt) ⇒ Issue
Returns a new instance of Issue.
61 62 63 64 65 |
# File 'lib/rubocop_pr/repositories/github.rb', line 61 def initialize(cop:, **opt) super @assignees = Array opt[:issue_assignees] @labels = Array opt[:issue_labels] end |