# File lib/hammer_cli_csv/provisioning_templates.rb, line 43 def import @existing = {} @api.resource(:config_templates)\ .call(:index, { :per_page => 999999 })['results'].each do |template| @existing[template['name']] = template['id'] if template end thread_import do |line| create_templates_from_csv(line) end end