Class: RubocopPr::Repositories::Github::Issue

Inherits:
Base
  • Object
show all
Defined in:
lib/rubocop_pr/repositories/github.rb

Overview

The representation of the Issue

Instance Attribute Summary

Attributes inherited from Base

#body, #cop, #number, #title

Instance Method Summary collapse

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