# File lib/hammer_cli_csv/reports.rb, line 41 def import @existing_reports = {} @api.resource(:reports)\ .call(:index, { 'per_page' => 999999 })['results'].each do |report| @existing_reports[report['name']] = report['id'] end thread_import do |line| create_reports_from_csv(line) end end