class Supportal
Public Class Methods
fetch_from_multiple_jiras(jiras)
click to toggle source
jiras is an array of ojects with the properties: username, password, instance, query
# 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