Class: Apadmi::Grout::IssueClassifier

Inherits:
Object
  • Object
show all
Defined in:
lib/apadmi/grout/actions/generate_release_notes_action/issue_classifier.rb

Overview

Generic issue classifier

Direct Known Subclasses

AdoIssueClassifier, JiraIssueClassifier

Instance Method Summary collapse

Instance Method Details

#filter_issues_by_type(types, issues) ⇒ Array<Apadmi::Grout::Issue>

Parameters:

Returns:



10
11
12
# File 'lib/apadmi/grout/actions/generate_release_notes_action/issue_classifier.rb', line 10

def filter_issues_by_type(types, issues)
  issues.find_all { |issue| types.include?(issue.issue_type) }
end