Class: Supportal
- Inherits:
-
Object
- Object
- Supportal
- Defined in:
- lib/supportal.rb
Defined Under Namespace
Classes: Confluence, JIRA, MicrosLogger, Request
Class Method Summary collapse
-
.fetch_from_multiple_jiras(jiras) ⇒ Object
jiras is an array of ojects with the properties: username, password, instance, query.
Class Method Details
.fetch_from_multiple_jiras(jiras) ⇒ Object
jiras is an array of ojects with the properties: username, password, instance, query
3 4 5 6 7 |
# File 'lib/supportal.rb', line 3 def self.fetch_from_multiple_jiras(jiras) jiras.map do |jira_config| issues = JIRA.new(jira_config[:username], jira_config[:password], jira_config[:instance]).fetch_issues(jira_config[:query]) end.flatten end |